Method GetFrame
GetFrame(int)
Gets the AnimatedTilemapFrame element at the specified index in this AnimatedTilemap.
public AnimatedTilemapFrame GetFrame(int frameIndex)
Parameters
frameIndex
intThe 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.