summaryrefslogtreecommitdiff
path: root/doc/classes/TileSetSource.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/TileSetSource.xml')
-rw-r--r--doc/classes/TileSetSource.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/classes/TileSetSource.xml b/doc/classes/TileSetSource.xml
index e88e725bf4..4ebd7735b0 100644
--- a/doc/classes/TileSetSource.xml
+++ b/doc/classes/TileSetSource.xml
@@ -7,7 +7,6 @@
Exposes a set of tiles for a [TileSet] resource.
Tiles in a source are indexed with two IDs, coordinates ID (of type Vector2i) and an alternative ID (of type int), named according to their use in the [TileSetAtlasSource] class.
Depending on the TileSet source type, those IDs might have restrictions on their values, this is why the base [TileSetSource] class only exposes getters for them.
-
You can iterate over all tiles exposed by a TileSetSource by first iterating over coordinates IDs using [method get_tiles_count] and [method get_tile_id], then over alternative IDs using [method get_alternative_tiles_count] and [method get_alternative_tile_id].
</description>
<tutorials>