Interface IAnimation
Represents an animation that can be updated over time.
public interface IAnimation
Properties
IsComplete
Gets whether the animation has completed.
bool IsComplete { get; }
Property Value
Methods
Cancel()
Called when the animation completes or is cancelled.
void Cancel()
Update(double)
Updates the animation with the elapsed time since the last frame.
void Update(double deltaTime)
Parameters
deltaTimedoubleTime elapsed since last update in seconds.