Click or drag to resize
DigitalRuneAnimationTransitions Class
Provides a set of predefined transitions to start or stop animations.
Inheritance Hierarchy
SystemObject
  DigitalRune.AnimationAnimationTransitions

Namespace: DigitalRune.Animation
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public static class AnimationTransitions

The AnimationTransitions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCompose
Combines the new animation. with existing animations by appending the new animation to the end of the composition chains.
Public methodStatic memberCompose(TimeSpan)
Gradually combines the new animation with existing animations by appending the new animation to the end of the composition chains. The new animation fades in over the specified duration.
Public methodStatic memberCompose(AnimationInstance)
Combines the new animation with existing animations by inserting the new animation after the specified animation into the composition chains. The new animation takes effect immediately.
Public methodStatic memberCompose(AnimationInstance, TimeSpan)
Combines the new animation with existing animations by inserting the new animation after the specified animation into the composition chains. The new animation fades in over the specified duration.
Public methodStatic memberReplace
Replaces all existing animations with the new animation. The new animation takes effect immediately. The previous animations are stopped and removed from the animation system.
Public methodStatic memberReplace(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.
Public methodStatic memberReplace(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.
Public methodStatic memberReplace(AnimationInstance, TimeSpan)
Gradually replaces the specified animation with the new animation. The new animation fades in over the specified duration. After this duration the previous animation is stopped and removed from the animation system.
Public methodStatic memberSnapshotAndReplace
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.
Top
Remarks
Important: Animation transitions cannot be reused for multiple animations. When an animation is started a new animation transition needs to be created using one of the methods of this class.
See Also