| AnimationTransitionsReplace Method (TimeSpan) |
Gradually replaces all existing animations with the new animation. The new animation fades
in over the specified duration. After this duration the previous animations are stopped and
removed from the animation system.
Namespace: DigitalRune.AnimationAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public static AnimationTransition Replace(
TimeSpan fadeInDuration
)
Public Shared Function Replace (
fadeInDuration As TimeSpan
) As AnimationTransition
public:
static AnimationTransition^ Replace(
TimeSpan fadeInDuration
)
static member Replace :
fadeInDuration : TimeSpan -> AnimationTransition
Parameters
- fadeInDuration
- Type: SystemTimeSpan
The duration over which the new animation fades in.
Return Value
Type:
AnimationTransitionThe
AnimationTransition.
See Also