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. Clears all tiles. Creates a new tile which will be referenced by the given ID. Returns the first tile matching the given name. Returns the ID following the last currently used ID, useful when creating a new tile. Returns an array of all currently used tile IDs. Removes the tile referenced by the given ID. Returns the light occluder of the tile. Returns the material of the tile. Returns the name of the tile. Returns the navigation polygon of the tile. Returns the offset of the tile's navigation polygon. Returns the offset of the tile's light occluder. Returns the tile sub-region in the texture. Returns the array of shapes of the tile. Returns the texture of the tile. Returns the texture offset of the tile. Sets a light occluder for the tile. Sets the tile's material. Sets the tile's name. Sets the tile's navigation polygon. Sets an offset for the tile's navigation polygon. Sets the tile's normal map texture. Set an offset for the tile's light occluder. Set the tile's sub-region in the texture. This is common in texture atlases. Sets an array of shapes for the tile, enabling collision. Sets the tile's texture. Sets the tile's texture offset.