Class LightingSettingsLua
- Namespace
- KSP.Rendering
- Assembly
- Assembly-CSharp.dll
public class LightingSettingsLua
- Inheritance
-
LightingSettingsLua
- Inherited Members
-
- Extension Methods
-
Constructors
LightingSettingsLua(GraphicsSettings)
public LightingSettingsLua(GraphicsSettings settings)
Parameters
settings GraphicsSettings
Fields
ATMOSPHERIC_SCATTERING_ENABLED_NAME
public const string ATMOSPHERIC_SCATTERING_ENABLED_NAME = "AtmosphericScatteringEnabled"
Field Value
- string
GLOBAL_ILLUMINATION_ENABLED_NAME
public const string GLOBAL_ILLUMINATION_ENABLED_NAME = "GlobalIlluminationEnabled"
Field Value
- string
GLOBAL_ILLUMINATION_OBSERVER_ENABLED_NAME
public const string GLOBAL_ILLUMINATION_OBSERVER_ENABLED_NAME = "GlobalIlluminationObserverEnabled"
Field Value
- string
REFLECTIONS_ENABLED_NAME
public const string REFLECTIONS_ENABLED_NAME = "ReflectionsEnabled"
Field Value
- string
Methods
GetAtmosphericScatteringEnabled()
public bool GetAtmosphericScatteringEnabled()
Returns
- bool
GetGlobalIlluminationEnabled()
public bool GetGlobalIlluminationEnabled()
Returns
- bool
GetGlobalIlluminationObserverEnabled()
public bool GetGlobalIlluminationObserverEnabled()
Returns
- bool
GetReflectionsEnabled()
public bool GetReflectionsEnabled()
Returns
- bool
RegisterEnvironment(IScriptEnvironment)
public void RegisterEnvironment(IScriptEnvironment scriptEnvironment)
Parameters
scriptEnvironment IScriptEnvironment
SetAtmosphericScatteringEnabled(bool)
public int SetAtmosphericScatteringEnabled(bool enabled)
Parameters
enabled bool
Returns
- int
SetGlobalIlluminationEnabled(bool)
public int SetGlobalIlluminationEnabled(bool enabled)
Parameters
enabled bool
Returns
- int
SetGlobalIlluminationObserverEnabled(bool)
public int SetGlobalIlluminationObserverEnabled(bool enabled)
Parameters
enabled bool
Returns
- int
SetReflectionsEnabled(bool)
public int SetReflectionsEnabled(bool enabled)
Parameters
enabled bool
Returns
- int