Assets.ITileDetails

Description: Defines an object that is used to fully describe a loaded tile.

Fields

Tile: Graphics.Sprite2d
The Tile that will be on the map.

ResourceIndex: number
The resource index that was used to build the tile.

Row: number
The row that the tile occupies.

Column: number
The column that the tile occupies.

Parent: Graphics.TileMap
The TileMap that contains the Tile. This can be used to determine the absolute position of the Tile by adding the Parent and Tile's position.

Examples

There's currently no example available for this page. If you'd like to suggest one send me an containing a description, code, and link to the page for the suggested example. As a thanks I'll associate the code snippet with your name directly below the example if approved.