Struct FogState
Fog settings as values.
public struct FogState
- Inherited Members
Fields
Color
public Color Color
Field Value
- Color
Density
public float Density
Field Value
Enabled
public bool Enabled
Field Value
EndDistance
public float EndDistance
Field Value
Mode
public FogMode Mode
Field Value
- FogMode
StartDistance
public float StartDistance
Field Value
Methods
FromRenderSettings()
public static FogState FromRenderSettings()
Returns
Remarks
Exponential fog at no density fogs nothing: read as off (it is what FogComposer writes for none).
WriteToRenderSettings()
public void WriteToRenderSettings()