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
)
Public Sub TransitionFogDensity (
fromDensity As Single,
toDensity As Single,
transitionDuration As Single
)
public:
void TransitionFogDensity(
float fromDensity,
float toDensity,
float transitionDuration
)
member TransitionFogDensity :
fromDensity : float32 *
toDensity : float32 *
transitionDuration : float32 -> unit
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