Merge pull request #98782 from tetrapod00/docs-tilemap-deprecation

Docs: Update TileSet to reference TileMapLayer instead of TileMap
This commit is contained in:
Thaddeus Crews 2024-11-10 12:12:52 -06:00
commit b0a8540775
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -4,7 +4,7 @@
Tile library for tilemaps. Tile library for tilemaps.
</brief_description> </brief_description>
<description> <description>
A TileSet is a library of tiles for a [TileMap]. A TileSet handles a list of [TileSetSource], each of them storing a set of tiles. A TileSet is a library of tiles for a [TileMapLayer]. A TileSet handles a list of [TileSetSource], each of them storing a set of tiles.
Tiles can either be from a [TileSetAtlasSource], which renders tiles out of a texture with support for physics, navigation, etc., or from a [TileSetScenesCollectionSource], which exposes scene-based tiles. Tiles can either be from a [TileSetAtlasSource], which renders tiles out of a texture with support for physics, navigation, etc., or from a [TileSetScenesCollectionSource], which exposes scene-based tiles.
Tiles are referenced by using three IDs: their source ID, their atlas coordinates ID, and their alternative tile ID. Tiles are referenced by using three IDs: their source ID, their atlas coordinates ID, and their alternative tile ID.
A TileSet can be configured so that its tiles expose more or fewer properties. To do so, the TileSet resources use property layers, which you can add or remove depending on your needs. A TileSet can be configured so that its tiles expose more or fewer properties. To do so, the TileSet resources use property layers, which you can add or remove depending on your needs.