AnimationEndEventArgs
Namespace: MonineEngine.Graphics.Animations
Event arguments covering details on a finished animation.
public class AnimationEndEventArgs : System.EventArgs
Inheritance Object → EventArgs → AnimationEndEventArgs
Attributes NullableContextAttribute, NullableAttribute
Properties
Animation
The Animation that finished.
public Animation Animation { get; }
Property Value
FinalFrameIndex
The index of the final frame of animation in the Frames list within AnimationEndEventArgs.Animation.
public int FinalFrameIndex { get; }
Property Value
Loops
If true, the animation that finished is due to loop back to the start. If false, the animation is not due to loop, and will stay frozen at the final frame until manually changed.
public bool Loops { get; }
Property Value
Constructors
AnimationEndEventArgs(Animation, Boolean)
public AnimationEndEventArgs(Animation animation, bool loops)
Parameters
animation Animation
loops Boolean