Click or drag to resize
DigitalRuneAnimationState Enumeration
Defines the state of an animation.

Namespace: DigitalRune.Animation
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public enum AnimationState
Members
  Member nameValueDescription
Stopped0 The animation is halted and does not return any values.
Delayed1 The start of the animation has been delayed and animation does not yet return any values. (Animations can be delayed using the types TimelineClip or AnimationClipT.)
Playing2 The animation is active and produces an animation value.
Filling3 The duration of the animation is exceeded and the animation returns the last animation value.
Remarks

Animations are positioned on a timeline. The current state of an animation depends on the current time on the timeline. The method GetState(TimeSpan) can be used to query the current state for a given time value.

Playing indicates that the animation is active and produces animation values.

The animation state is Delayed when the timeline is active, but the start of the animation has been delayed. The types TimelineClip and AnimationClipT can be used to delay the start of an animation. The animation state is Delayed as long as the current time is less than the Delay. The animation does not produce an output in this state.

When the time value reaches the end of the duration the state becomes either Filling when the FillBehavior is set to Hold or Stopped when the fill behavior is set to Stop.

See Also