Class Lightning
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class Lightning : UpdatableAndDeletable, IRunDuringDialog
- Inheritance
-
Lightning
- Implements
-
- Inherited Members
-
Constructors
Lightning(Room, float, bool)
public Lightning(Room room, float intensity, bool bkgOnly)
Parameters
room Room
intensity float
bkgOnly bool
Fields
backgroundColor
public Color backgroundColor
Field Value
- Color
bkgGradient
public Color[] bkgGradient
Field Value
- Color[]
bkgOnly
Field Value
- bool
intensity
Field Value
- float
lightningSources
public Lightning.LightningSource[] lightningSources
Field Value
- LightningSource[]
Properties
CycleEndIntensityBoost
public float CycleEndIntensityBoost { get; }
Property Value
- float
Methods
CurrentBackgroundColor(float, RoomPalette)
public Color CurrentBackgroundColor(float timeStacker, RoomPalette pal)
Parameters
timeStacker float
pal RoomPalette
Returns
- Color
CurrentFogColor(float, RoomPalette)
public Color CurrentFogColor(float timeStacker, RoomPalette pal)
Parameters
timeStacker float
pal RoomPalette
Returns
- Color
CurrentLightLevel(float)
public float CurrentLightLevel(float timeStacker)
Parameters
timeStacker float
Returns
- float
Update(bool)
public override void Update(bool eu)
Parameters
eu bool