Click or drag to resize

WeatherMakerFogScriptTShowFogAnimated Method

Create a new fog profile and begin animating to the new profile settings

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public virtual T ShowFogAnimated(
	T toProfile,
	float transitionDelay,
	float transitionDuration,
	Nullable<float> newDensity = null,
	string tweenKey = null
)

Parameters

toProfile
Type: T
New fog profile to transition to
transitionDelay
Type: SystemSingle
Transition delay in seconds
transitionDuration
Type: SystemSingle
Transition duration in seconds
newDensity (Optional)
Type: SystemNullableSingle
Density for the new profile or null to use profile density
tweenKey (Optional)
Type: SystemString
Tween key

Return Value

Type: T
The newly created fog profile that is being transitioned to (a copy of toProfile)
See Also