Class Sun
- Namespace
- KSP.VFX
- Assembly
- Assembly-CSharp.dll
public class Sun : KerbalMonoBehaviour
- Inheritance
-
Sun
- Inherited Members
-
- Extension Methods
-
Constructors
Sun()
Fields
attenuationValue
public float attenuationValue
Field Value
- float
currentFlare
public Flare currentFlare
Field Value
- Flare
debugHitGameObjects
public bool debugHitGameObjects
Field Value
- bool
debugRaycasts
public bool debugRaycasts
Field Value
- bool
fadeEnd
Field Value
- float
fadeStart
Field Value
- float
localTime
Field Value
- float
physicsLensFlare
protected LensFlare physicsLensFlare
Field Value
- LensFlare
physicsSunLight
protected Light physicsSunLight
Field Value
- Light
scaledLensFlare
protected LensFlare scaledLensFlare
Field Value
- LensFlare
scaledSunLight
protected Light scaledSunLight
Field Value
- Light
shadowBiasFlight
public float shadowBiasFlight
Field Value
- float
shadowBiasSpaceCentre
public float shadowBiasSpaceCentre
Field Value
- float
sunColorDebdeb
public Color sunColorDebdeb
Field Value
- Color
sunColorKerbol
public Color sunColorKerbol
Field Value
- Color
sunDirection
public Vector3d sunDirection
Field Value
- Vector3d
sunFlareDebdeb
public Flare sunFlareDebdeb
Field Value
- Flare
sunFlareKerbol
public Flare sunFlareKerbol
Field Value
- Flare
sunIntensity
public float sunIntensity
Field Value
- float
sunRotationPrecision
public int sunRotationPrecision
Field Value
- int
Methods
Create(GameObject, IUniverseModel, IUniverseView, CelestialBodyComponent, CelestialBodyBehavior)
public static Sun Create(GameObject prefab, IUniverseModel universeModel, IUniverseView universeView, CelestialBodyComponent celestialBodyModel, CelestialBodyBehavior celesitalBodyView)
Parameters
prefab GameObject
universeModel IUniverseModel
universeView IUniverseView
celestialBodyModel CelestialBodyComponent
celesitalBodyView CelestialBodyBehavior
Returns
- Sun
Destroy()