RaptorRtSceneSettings
Scene-wide settings from a light source that affect how a bake looks.
| Namespace | Assembly | Kind | Stability |
|---|---|---|---|
Raptor.Render.EditorTools | RaptorRender.Editor | struct | preview, since 0.1.0 |
Each IRaptorRtLightSource fills these from its light system.
public struct RaptorRtSceneSettingsFields
AOIntensity
public float AOIntensity;Ambient occlusion strength; 0 turns it off.
AORadius
public float AORadius;Ambient occlusion radius.
AOSamples
public int AOSamples;Ambient occlusion samples.
AOSofter
public bool AOSofter;Whether ambient occlusion uses the softer mode.
Bounces
public int Bounces;Indirect bounce count.
EmissiveBoost
public float EmissiveBoost;Multiplier on emissive light.
IndirectBoost
public float IndirectBoost;Multiplier on indirect light.
RenderMode
public int RenderMode;The source's render mode value.
Properties
AOEnabled
public bool AOEnabled { get; }Whether ambient occlusion has an effect.
Defaults
public static RaptorRtSceneSettings Defaults { get; }The values used when a scene has no settings.
DirectOnlyFromBakeToIndirect
public bool DirectOnlyFromBakeToIndirect { get; }True when the render mode bakes direct light only from lights set to "Bake to indirect".
Related types
- IRaptorRtLightSource: Reads one light system's scene lights for the Ray-traced preview and the Lights tool.