Property this
this[int]
Gets the TilemapLayer element at the specified index in this AnimatedTilemapFrame.
public TilemapLayer this[int layerIndex] { get; }
Parameters
layerIndex
intThe 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
stringThe 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.