Table of Contents

Method GetFrame

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

GetFrame(int)

Gets the AnimatedTilemapFrame element at the specified index in this AnimatedTilemap.

public AnimatedTilemapFrame GetFrame(int frameIndex)

Parameters

frameIndex int

The index of the AnimatedTilemapFrame element to locate.

Returns

AnimatedTilemapFrame

The AnimatedTilemapFrame element that was located.

Exceptions

ArgumentOutOfRangeException

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