Click or drag to resize

WeatherMakerFogScriptTTransitionFogDensity Method

Set a new fog density over a period of time - if set to 0, game object will be disabled at end of transition

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public void TransitionFogDensity(
	float fromDensity,
	float toDensity,
	float transitionDuration
)

Parameters

fromDensity
Type: SystemSingle
Start of new fog density
toDensity
Type: SystemSingle
End of new fog density
transitionDuration
Type: SystemSingle
How long to transition to the new fog density in seconds
See Also