Click or drag to resize
DigitalRuneAnimationTransitionsReplace Method (AnimationInstance)
Replaces the specified animation with the new animation. The new animation takes effect immediately. The previous animation is stopped and removed from the animation system.

Namespace: DigitalRune.Animation
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public static AnimationTransition Replace(
	AnimationInstance previousAnimation
)

Parameters

previousAnimation
Type: DigitalRune.AnimationAnimationInstance
The animation that should be replaced.

Return Value

Type: AnimationTransition
The AnimationTransition.
See Also