Table of Contents

Property this

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

this[int]

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

public TilemapLayer this[int layerIndex] { get; }

Parameters

layerIndex int

The index of the TilemapLayer element to locate.

Property Value

TilemapLayer

The TilemapLayer element located.

Exceptions

ArgumentOutOfRangeException

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

this[string]

Gets the TilemapLayer element with the specified name in this AnimatedTilemapFrame.

public TilemapLayer this[string layerName] { get; }

Parameters

layerName string

The name of the TilemapLayer element to locate.

Property Value

TilemapLayer

The TilemapLayer element located.

Exceptions

KeyNotFoundException

Thrown if this AnimatedTilemapFrame does not contain a TilemapLayer element with the specified name.