summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-04-10 12:02:01 +0200
committerGitHub <noreply@github.com>2020-04-10 12:02:01 +0200
commit82e12a0f3e85ef623a4d603160b4cc5fcb995061 (patch)
treeaf165fc547a4f786257bdcf10e0eca1529124507 /doc/classes
parent8d02dadaaa04d9c1750823089d5202e49ddd93b1 (diff)
parentcbe73766e3f9bda7d3f3e17873d1e9b80763f24f (diff)
downloadredot-engine-82e12a0f3e85ef623a4d603160b4cc5fcb995061.tar.gz
Merge pull request #37566 from lucaslcode/clarify_autotile
clarify autotile_coord in docs
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/TileMap.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml
index 1db1142aa0..5b7694b775 100644
--- a/doc/classes/TileMap.xml
+++ b/doc/classes/TileMap.xml
@@ -43,7 +43,7 @@
<argument index="1" name="y" type="int">
</argument>
<description>
- Returns the coordinate of the autotile variation in the tileset. Returns a zero vector if the cell doesn't have autotiling.
+ Returns the coordinate (subtile column and row) of the autotile variation in the tileset. Returns a zero vector if the cell doesn't have autotiling.
</description>
</method>
<method name="get_cellv" qualifiers="const">
@@ -161,7 +161,7 @@
<description>
Sets the tile index for the cell given by a Vector2.
An index of [code]-1[/code] clears the cell.
- Optionally, the tile can also be flipped, transposed, or given autotile coordinates.
+ Optionally, the tile can also be flipped, transposed, or given autotile coordinates. The autotile coordinate refers to the column and row of the subtile.
[b]Note:[/b] Data such as navigation polygons and collision shapes are not immediately updated for performance reasons.
If you need these to be immediately updated, you can call [method update_dirty_quadrants].
Overriding this method also overrides it internally, allowing custom logic to be implemented when tiles are placed/removed: