Struct RuntimeLightingSettings
A struct that mimics the lighting settings stored in a scene.
Used to store, retrieve and interpolate lighting settings.
Omits any editor-only settings.
Assembly: cs.temp.dll.dll
public struct RuntimeLightingSettings
Fields
Declaration
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
public bool EnableBakedLightmaps
Field Value
Declaration
public bool EnableBakedLightmaps
Field Value
Declaration
public bool EnabledRealtimeLightmaps
Field Value
Declaration
public bool EnabledRealtimeLightmaps
Field Value
Declaration
public MixedLightingMode EnvironmentLightingMode
Field Value
Type |
Description |
MixedLightingMode |
|
Declaration
public MixedLightingMode EnvironmentLightingMode
Field Value
Type |
Description |
MixedLightingMode |
|
Declaration
public float IndirectOutputScale
Field Value
Declaration
public float IndirectOutputScale
Field Value
Methods
Sets continuous settings to 'black' without changing any discrete features.
Declaration
public static RuntimeLightingSettings Black(RuntimeLightingSettings source)
Parameters
Returns
Sets continuous settings to 'black' without changing any discrete features.
Declaration
public static RuntimeLightingSettings Black(RuntimeLightingSettings source)
Parameters
Returns
Lerps between two settings
Declaration
public static RuntimeLightingSettings Lerp(RuntimeLightingSettings from, RuntimeLightingSettings to, float t)
Parameters
Returns
Lerps between two settings
Declaration
public static RuntimeLightingSettings Lerp(RuntimeLightingSettings from, RuntimeLightingSettings to, float t)
Parameters
Returns