Table of Contents

Class CelestialBodyGIProbeManager

Namespace
KSP.Rendering
Assembly
Assembly-CSharp.dll
public class CelestialBodyGIProbeManager : MonoBehaviour, IUpdate
Inheritance
CelestialBodyGIProbeManager
Implements
Extension Methods

Constructors

CelestialBodyGIProbeManager()

public CelestialBodyGIProbeManager()

Fields

CelestialBodyProvider

public CelestialBodyProvider CelestialBodyProvider

Field Value

CelestialBodyProvider

LightingSystem

public LightingSystem LightingSystem

Field Value

LightingSystem

currentAmbientColor

public Color currentAmbientColor

Field Value

Color

debugAmbientColor

public Color debugAmbientColor

Field Value

Color

debugSelectionIndex

public int debugSelectionIndex

Field Value

int

enableCelestialBodyGI

public bool enableCelestialBodyGI

Field Value

bool

enableGlobalIllumination

public bool enableGlobalIllumination

Field Value

bool

enableObserverGI

public bool enableObserverGI

Field Value

bool

lightProbeGroup

public LightProbeGroup lightProbeGroup

Field Value

LightProbeGroup

localBodies

public Dictionary<string, LightData> localBodies

Field Value

Dictionary<string, LightData>

useDebugAmbient

public bool useDebugAmbient

Field Value

bool

visibleBodies

public Dictionary<string, double> visibleBodies

Field Value

Dictionary<string, double>

Methods

Cleanup()

public void Cleanup()

ClearGIProbe()

public void ClearGIProbe()

Init(LightingSystem, bool)

public void Init(LightingSystem lightingSystem, bool usePrevis = false)

Parameters

lightingSystem LightingSystem
usePrevis bool

OnOABLoaded()

public void OnOABLoaded()

OnOABUnloaded()

public void OnOABUnloaded()

OnSOIEntered(CelestialBodyRingGroup)

public void OnSOIEntered(CelestialBodyRingGroup ringGroup)

Parameters

ringGroup CelestialBodyRingGroup

OnSettingChanged(Setting)

public void OnSettingChanged(Setting setting)

Parameters

setting Setting

RegisterEvents()

public void RegisterEvents()

RemoveEvents()

public void RemoveEvents()