Merge pull request #89146 from BlueberryGecko/master

Class reference: Improve TileMap `get_cell_atlas_coords` documentation
This commit is contained in:
Rémi Verschelde 2024-03-04 20:44:01 +01:00
commit 4ac4132b5b
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -99,7 +99,8 @@
<param index="1" name="coords" type="Vector2i" />
<param index="2" name="use_proxies" type="bool" default="false" />
<description>
Returns the tile atlas coordinates ID of the cell on layer [param layer] at coordinates [param coords]. If [param use_proxies] is [code]false[/code], ignores the [TileSet]'s tile proxies, returning the raw alternative identifier. See [method TileSet.map_tile_proxy].
Returns the tile atlas coordinates ID of the cell on layer [param layer] at coordinates [param coords]. Returns [code]Vector2i(-1, -1)[/code] if the cell does not exist.
If [param use_proxies] is [code]false[/code], ignores the [TileSet]'s tile proxies, returning the raw alternative identifier. See [method TileSet.map_tile_proxy].
If [param layer] is negative, the layers are accessed from the last one.
</description>
</method>