struct
FSubsurfaceProfile
A .sssprofile asset: how far light travels under a surface, in metres of world space, and which colour channel travels furthest. Materials reference one by path so wax, marble, jade and skin are authored once and shared; the referencing material takes the radius and reach from it when it loads.
- Module
- AssetSystem
- Header
#include "AssetSystem/Assets/SubsurfaceProfile.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
float | RadiusMeters | Default 0.01f. |
Vec3 | Reach | Default Vec3(1.0f, 1.0f, 1.0f). |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | Load | False when the file is missing or unreadable; out is left untouched. |
bool | Save |
Function details
Load
C++
static bool Load(const std::string& path, FSubsurfaceProfile& out)False when the file is missing or unreadable; out is left untouched.
Save
C++
static bool Save(const std::string& path, const FSubsurfaceProfile& profile)Generated from AssetSystem/Assets/SubsurfaceProfile.h via assetsystem.json · Dec 5, 2026Version 1.1.0