Table of Contents

Method RemoveFrame

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

RemoveFrame(int)

Removes the AnimatedTilemapFrame element at the specified index from this AnimatedTilemap.

public bool RemoveFrame(int index)

Parameters

index int

The index of the AnimatedTilemapFrame element to remove.

Returns

bool

true if the AnimatedTilemapFrame was removed successfully; otherwise, false. This method returns false when the specified index is less than zero or is greater that or equal to the total number of AnimatedTilemapFrame elements in this AnimatedTilemap.