Class FogSettings
Serializable class for configuring fog settings in a region, including mode, color, density, and transition properties.
[Serializable]
public class FogSettings
- Inheritance
-
FogSettings
- Inherited Members
Fields
ChangeRate
The rate at which fog settings change (e.g., for smooth transitions between regions).
public float ChangeRate
Field Value
Color
The color of the fog.
public Color Color
Field Value
- Color
Density
The density of the fog (used in exponential modes).
public float Density
Field Value
Enabled
Whether fog is enabled for the region.
public bool Enabled
Field Value
EndDistance
The ending distance from the camera where fog reaches full effect (used in linear mode).
public float EndDistance
Field Value
Mode
The mode of the fog (Linear, Exponential, ExponentialSquared).
public FogMode Mode
Field Value
- FogMode
StartDistance
The starting distance from the camera where fog begins (used in linear mode).
public float StartDistance