| AnimationTransitionsSnapshotAndReplace Method |
Takes a snapshot of the current animation and then starts the new animation. The new
animation is initialized with the snapshot and takes effect immediately. 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 SnapshotAndReplace()
Public Shared Function SnapshotAndReplace As AnimationTransition
public:
static AnimationTransition^ SnapshotAndReplace()
static member SnapshotAndReplace : unit -> AnimationTransition
Return Value
Type:
AnimationTransitionThe
AnimationTransition.
Remarks
Usually, the property's base value is passed to the first animation in composition chain.
When using SnapshotAndReplace a snapshot of the current animation value is
created. The first animation in the composition chain will receive the snapshot instead of
the base value as its input. The snapshot will be active until a new snapshot is created (by
starting a new animation using SnapshotAndReplace), or until all animations on
the property are stopped.
See Also