Class SunlightManager
Changes angle of directional light to simulate sunrise through sunset.
Inheritance
SunlightManager
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(Light))]
public class SunlightManager : MonoBehaviour
Fields
|
Improve this Doc
View Source
Angle
Declaration
Field Value
|
Improve this Doc
View Source
defaultScaleFactor
Declaration
public const float defaultScaleFactor = 1F
Field Value
|
Improve this Doc
View Source
defaultShadowStrength
Declaration
public const float defaultShadowStrength = 1F
Field Value
|
Improve this Doc
View Source
IndirectLight
Declaration
public Light IndirectLight
Field Value
|
Improve this Doc
View Source
LightCurve
Declaration
public AnimationCurve LightCurve
Field Value
|
Improve this Doc
View Source
LocalPlayer
Declaration
public GameObject LocalPlayer
Field Value
|
Improve this Doc
View Source
OtherLights
Declaration
public Light[] OtherLights
Field Value
|
Improve this Doc
View Source
ScaleFactor
Declaration
[Range(0F, 1F)]
public float ScaleFactor
Field Value
|
Improve this Doc
View Source
ShadowStrength
Declaration
[Range(0F, 1F)]
public float ShadowStrength
Field Value
Properties
|
Improve this Doc
View Source
DaylightScale
Gets daylight light scale which peaks at midday and wanes at dusk at dawn.
Declaration
public float DaylightScale { get; }
Property Value
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)