clarify autotile_coord in docs
I had no idea what 'coordinate' meant in the context of autotiles, so just adding some clarification for future people who have the same problem.
(cherry picked from commit cbe73766e3
)
This commit is contained in:
parent
0ce6ac0bbb
commit
cd10966652
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@
|
||||||
<argument index="1" name="y" type="int">
|
<argument index="1" name="y" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_cellv" qualifiers="const">
|
<method name="get_cellv" qualifiers="const">
|
||||||
|
@ -161,7 +161,7 @@
|
||||||
<description>
|
<description>
|
||||||
Sets the tile index for the cell given by a Vector2.
|
Sets the tile index for the cell given by a Vector2.
|
||||||
An index of [code]-1[/code] clears the cell.
|
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.
|
[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].
|
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:
|
Overriding this method also overrides it internally, allowing custom logic to be implemented when tiles are placed/removed:
|
||||||
|
|
Loading…
Reference in a new issue