Class PlayerAmbientLight
Peer this with Player and PlayerEnterExit to change ambient light based on player surroundings.
For example, Daggerfall scales ambient light up and down in dungeons with castle blocks (e.g. Wayrest).
Ambient light is dimmed when player leaves castle block and brightened on return.
Inheritance
PlayerAmbientLight
Assembly: Assembly-CSharp.dll
Syntax
public class PlayerAmbientLight : MonoBehaviour
Fields
|
Improve this Doc
View Source
CastleAmbientLight
Declaration
public Color CastleAmbientLight
Field Value
|
Improve this Doc
View Source
DungeonAmbientLight
Declaration
public Color DungeonAmbientLight
Field Value
|
Improve this Doc
View Source
ExteriorNightAmbientLight
Declaration
public Color ExteriorNightAmbientLight
Field Value
|
Improve this Doc
View Source
ExteriorNoonAmbientLight
Declaration
public Color ExteriorNoonAmbientLight
Field Value
|
Improve this Doc
View Source
FadeDuration
Declaration
public float FadeDuration
Field Value
|
Improve this Doc
View Source
FadeStep
Declaration
Field Value
|
Improve this Doc
View Source
InteriorAmbientLight
Declaration
public Color InteriorAmbientLight
Field Value
|
Improve this Doc
View Source
InteriorAmbientLight_AmbientOnly
Declaration
public Color InteriorAmbientLight_AmbientOnly
Field Value
|
Improve this Doc
View Source
InteriorNightAmbientLight
Declaration
public Color InteriorNightAmbientLight
Field Value
|
Improve this Doc
View Source
InteriorNightAmbientLight_AmbientOnly
Declaration
public Color InteriorNightAmbientLight_AmbientOnly
Field Value
|
Improve this Doc
View Source
SpecialAreaLight
Declaration
public Color SpecialAreaLight
Field Value
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)