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
)
Public Overridable Function ShowFogAnimated (
toProfile As T,
transitionDelay As Single,
transitionDuration As Single,
Optional newDensity As Nullable(Of Single) = Nothing,
Optional tweenKey As String = Nothing
) As T
public:
virtual T ShowFogAnimated(
T toProfile,
float transitionDelay,
float transitionDuration,
Nullable<float> newDensity = nullptr,
String^ tweenKey = nullptr
)
abstract ShowFogAnimated :
toProfile : 'T *
transitionDelay : float32 *
transitionDuration : float32 *
?newDensity : Nullable<float32> *
?tweenKey : string
(* Defaults:
let _newDensity = defaultArg newDensity null
let _tweenKey = defaultArg tweenKey null
*)
-> 'T
override ShowFogAnimated :
toProfile : 'T *
transitionDelay : float32 *
transitionDuration : float32 *
?newDensity : Nullable<float32> *
?tweenKey : string
(* Defaults:
let _newDensity = defaultArg newDensity null
let _tweenKey = defaultArg tweenKey null
*)
-> 'T
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:
TThe newly created fog profile that is being transitioned to (a copy of toProfile)
See Also