AnimationState Enumeration |
Namespace: DigitalRune.Animation
Member name | Value | Description | |
---|---|---|---|
Stopped | 0 | The animation is halted and does not return any values. | |
Delayed | 1 | 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.) | |
Playing | 2 | The animation is active and produces an animation value. | |
Filling | 3 | The duration of the animation is exceeded and the animation returns the last animation value. |
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.