Class CubemapReflectionSystem
- Namespace
- KSP.Rendering
- Assembly
- Assembly-CSharp.dll
public class CubemapReflectionSystem : MonoBehaviour, IUpdate, ILateUpdate
- Inheritance
-
CubemapReflectionSystem
- Implements
-
- Extension Methods
-
Constructors
CubemapReflectionSystem()
public CubemapReflectionSystem()
Fields
cubemapResolutions
public int[] cubemapResolutions
Field Value
- int[]
debugCubemapFace
public int debugCubemapFace
Field Value
- int
Methods
Cleanup()
DisableRendering()
public void DisableRendering()
EnableRendering()
public void EnableRendering()
ForceRefreshCubemap()
public void ForceRefreshCubemap()
GetObserverCubemapTexture()
public Texture GetObserverCubemapTexture()
Returns
- Texture
Init(LightingSystem, bool)
public void Init(LightingSystem lightingSystem, bool usePrevis = false)
Parameters
lightingSystem LightingSystem
usePrevis bool
OnCameraChanged()
public void OnCameraChanged()
OnMapEntered()
public void OnMapEntered()
OnMapExited()
public void OnMapExited()
OnOABLoaded()
public void OnOABLoaded()
OnOABUnloaded()
public void OnOABUnloaded()
OnTimeZoomChangeCompleted(int)
public void OnTimeZoomChangeCompleted(int rate)
Parameters
rate int
RegisterEvents()
public void RegisterEvents()
RemoveEvents()
public void RemoveEvents()
SetReflectionConfig(CubemapSettings)
public void SetReflectionConfig(CubemapSettings settings)
Parameters
settings CubemapSettings
SetReflectionsEnabled(bool)
public void SetReflectionsEnabled(bool enabled)
Parameters
enabled bool
SetReflectionsResolution(int)
public void SetReflectionsResolution(int value)
Parameters
value int