Table of Contents

Method GetFrame

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

GetFrame(int)

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

public AnimationFrame GetFrame(int index)

Parameters

index int

The index of the AnimationFrame to locate.

Returns

AnimationFrame

The AnimationFrame located.

Exceptions

ArgumentOutOfRangeException

Thrown if the specified index is less than zero or is greater than or equal to the total number of AnimationFrame elements in this AnimationTag.