The left most tile index (in tile coordinates) to use as the origin of the area.
The top most tile index (in tile coordinates) to use as the origin of the area.
How many tiles wide from the tileX index the area will be.
How many tiles tall from the tileY index the area will be.
Optional filters to apply when getting the tiles.
The Tilemap Layer to act upon.
Gets the tiles in the given rectangular area (in tile coordinates) of the layer.
This returns an array with references to the Tile instances in, so be aware of modifying them directly.