| virtual void Sun.Awake |
( |
| ) |
|
|
inlineprotectedvirtual |
| void Sun.GameSceneLoadRequested |
( |
GameScenes |
scene | ) |
|
|
inline |
< Positive in the solar afternoon.
| virtual double Sun.GetLocalTimeAtPosition |
( |
double |
latitude, |
|
|
double |
longitude, |
|
|
CelestialBody |
body |
|
) |
| |
|
inlinevirtual |
| virtual double Sun.GetLocalTimeAtPosition |
( |
double |
latitude, |
|
|
double |
longitude, |
|
|
double |
altitude, |
|
|
CelestialBody |
body |
|
) |
| |
|
inlinevirtual |
| virtual void Sun.OnDestroy |
( |
| ) |
|
|
inlineprotectedvirtual |
| virtual void Sun.Start |
( |
| ) |
|
|
inlineprotectedvirtual |
| void Sun.SunlightEnabled |
( |
bool |
state | ) |
|
|
inline |
| AnimationCurve Sun.brightnessCurve |
| float Sun.brightnessMultiplier = 1f |
| float Sun.shadowBiasFlight = 0.125f |
| float Sun.shadowBiasSpaceCentre = 1f |
| float Sun.shadowCascadeCamDist = 20f |
| float Sun.shadowCascadeCamDistMidRange = 500f |
| float Sun.shadowNmlBiasFar = 2f |
| float Sun.shadowNmlBiasFarDist = 15000f |
| float Sun.shadowNmlBiasMid = 1f |
| float Sun.shadowNmlBiasMidDist = 2000f |
| float Sun.shadowNmlBiasZero = 0.4f |
| float Sun.showCascadeOneMidRange = 0.05f |
| float Sun.showCascadeOneZoomed = 0.02f |
| float Sun.showCascadeZeroMidRange = 0.02f |
| float Sun.showCascadeZeroZoomed = 0.01f |
| int Sun.sunRotationPrecision = 12 |
| int Sun.sunRotationPrecisionDefault = 12 |
| int Sun.sunRotationPrecisionMapView = 12 |
| bool Sun.useLocalSpaceSunLight |
Reference to the Light component of the Sun
The documentation for this class was generated from the following file:
- KSP/Assets/Scripts/Orbit Scripts/Sun.cs