summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-21 09:21:13 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-21 09:21:13 +0100
commit49ec96e3469043eaf664b55103013230a380e19a (patch)
treefc8e97613dcc1c078f4d44038e3306168b0e158f /doc/classes
parente4506cb19c5a0f7973122b0e23d85e8d5ea5b668 (diff)
parent0bcbf8e00d2cc9febe1977aca560897553b141de (diff)
Merge pull request #70367 from Chaosus/astargrid_get_point_pos
Add `get_point_position` method to `AStarGrid2D`
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/AStarGrid2D.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/AStarGrid2D.xml b/doc/classes/AStarGrid2D.xml
index 916946775b..cba783246f 100644
--- a/doc/classes/AStarGrid2D.xml
+++ b/doc/classes/AStarGrid2D.xml
@@ -69,6 +69,13 @@
[b]Note:[/b] This method is not thread-safe. If called from a [Thread], it will return an empty [PackedVector3Array] and will print an error message.
</description>
</method>
+ <method name="get_point_position" qualifiers="const">
+ <return type="Vector2" />
+ <param index="0" name="id" type="Vector2i" />
+ <description>
+ Returns the position of the point associated with the given [param id].
+ </description>
+ </method>
<method name="get_point_weight_scale" qualifiers="const">
<return type="float" />
<param index="0" name="id" type="Vector2i" />