Table of Contents

Class AnimationTag

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

Defines the definition of an animation.

public sealed class AnimationTag
Inheritance
AnimationTag
Inherited Members

Properties

FrameCount

Gets the total number of ,AnimationFrame elements.

Frames

Gets a read-only span of the AnimationFrame elements that make up the animation. The order of elements is from first frame to last frame in non-reverse order.

IsLooping

Gets a value that indicates whether the animation should loop.

IsPingPong

Gets or Sets a value that indicates whether the animation should ping-pong once reaching the last frame of animation.

IsReversed

Gets or Sets a value that indicates whether the animation should play in reverse.

this[int]

Gets the AnimationFrame element at the specified index from this AnimationTag.

LoopCount

Gets or Sets a value that indicates the total number of loops/cycles of this animation that should play.

Name

Gets the name of the animation

Methods

GetFrame(int)

Gets the AnimationFrame element at the specified index from this AnimationTag.