Tile library for tilemaps.
A TileSet is a library of tiles for a [TileMap]. It contains a list of tiles, each consisting of a sprite and optional collision shapes.
Tiles are referenced by a unique integer ID.
Clear all tiles.
Create a new tile which will be referenced by the given ID.
Find the first tile matching the given name.
Return the ID following the last currently used ID, useful when creating a new tile.
Return an array of all currently used tile IDs.
Remove the tile referenced by the given ID.
Return the light occluder of the tile.
Return the material of the tile.
Return the name of the tile.
Return the navigation polygon of the tile.
Return the offset of the tile's navigation polygon.
Return the offset of the tile's light occluder.
Return the tile sub-region in the texture.
Return the array of shapes of the tile.
Return the texture of the tile.
Return the texture offset of the tile.
Set a light occluder for the tile.
Set the material of the tile.
Set the name of the tile, for descriptive purposes.
Set a navigation polygon for the tile.
Set an offset for the tile's navigation polygon.
Set an offset for the tile's light occluder.
Set the tile sub-region in the texture. This is common in texture atlases.
Set an array of shapes for the tile, enabling physics to collide with it.
Set the texture of the tile.
Set the texture offset of the tile.