diff options
Diffstat (limited to 'doc/classes/Navigation2D.xml')
-rw-r--r-- | doc/classes/Navigation2D.xml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/doc/classes/Navigation2D.xml b/doc/classes/Navigation2D.xml index 734469eaa9..0d016a3210 100644 --- a/doc/classes/Navigation2D.xml +++ b/doc/classes/Navigation2D.xml @@ -9,14 +9,32 @@ <tutorials> </tutorials> <methods> + <method name="get_closest_point" qualifiers="const"> + <return type="Vector2"> + </return> + <argument index="0" name="to_point" type="Vector2"> + </argument> + <description> + Returns the point closest to the provided [code]to_point[/code] on the navigation mesh surface. + </description> + </method> + <method name="get_closest_point_owner" qualifiers="const"> + <return type="RID"> + </return> + <argument index="0" name="to_point" type="Vector2"> + </argument> + <description> + Returns the owner region RID for the point returned by [method get_closest_point]. + </description> + </method> <method name="get_rid" qualifiers="const"> <return type="RID"> </return> <description> </description> </method> - <method name="get_simple_path"> - <return type="PoolVector2Array"> + <method name="get_simple_path" qualifiers="const"> + <return type="PackedVector2Array"> </return> <argument index="0" name="start" type="Vector2"> </argument> |