Class SequenceAnimation
A sequence of animations that run one after another.
public class SequenceAnimation : IAnimation
- Inheritance
-
SequenceAnimation
- Implements
- Inherited Members
Constructors
SequenceAnimation(params IAnimation[])
Creates a new sequence animation.
public SequenceAnimation(params IAnimation[] animations)
Parameters
animationsIAnimation[]The animations to run in sequence.
SequenceAnimation(IEnumerable<IAnimation>)
Creates a new sequence animation.
public SequenceAnimation(IEnumerable<IAnimation> animations)
Parameters
animationsIEnumerable<IAnimation>The animations to run in sequence.
Properties
IsComplete
Gets whether the animation has completed.
public bool IsComplete { get; }
Property Value
Methods
Cancel()
Called when the animation completes or is cancelled.
public void Cancel()
Update(double)
Updates the animation with the elapsed time since the last frame.
public void Update(double deltaTime)
Parameters
deltaTimedoubleTime elapsed since last update in seconds.