|
@@ -164,28 +164,37 @@
|
|
|
Returns the map cell size.
|
|
|
</description>
|
|
|
</method>
|
|
|
- <method name="map_get_edge_connection_margin" qualifiers="const">
|
|
|
- <return type="float">
|
|
|
+ <method name="map_get_closest_point" qualifiers="const">
|
|
|
+ <return type="Vector3">
|
|
|
</return>
|
|
|
<argument index="0" name="map" type="RID">
|
|
|
</argument>
|
|
|
+ <argument index="1" name="to_point" type="Vector3">
|
|
|
+ </argument>
|
|
|
<description>
|
|
|
- Returns the edge connection margin of the map.
|
|
|
+ Returns the point closest to the provided [code]point[/code] on the navigation mesh surface.
|
|
|
</description>
|
|
|
</method>
|
|
|
- <method name="map_get_path" qualifiers="const">
|
|
|
- <return type="PackedVector3Array">
|
|
|
+ <method name="map_get_closest_point_normal" qualifiers="const">
|
|
|
+ <return type="Vector3">
|
|
|
</return>
|
|
|
<argument index="0" name="map" type="RID">
|
|
|
</argument>
|
|
|
- <argument index="1" name="origin" type="Vector3">
|
|
|
+ <argument index="1" name="to_point" type="Vector3">
|
|
|
</argument>
|
|
|
- <argument index="2" name="destination" type="Vector3">
|
|
|
+ <description>
|
|
|
+ Returns the normal for the point returned by [method map_get_closest_point].
|
|
|
+ </description>
|
|
|
+ </method>
|
|
|
+ <method name="map_get_closest_point_owner" qualifiers="const">
|
|
|
+ <return type="RID">
|
|
|
+ </return>
|
|
|
+ <argument index="0" name="map" type="RID">
|
|
|
</argument>
|
|
|
- <argument index="3" name="optimize" type="bool">
|
|
|
+ <argument index="1" name="to_point" type="Vector3">
|
|
|
</argument>
|
|
|
<description>
|
|
|
- Returns the navigation path to reach the destination from the origin.
|
|
|
+ Returns the owner region RID for the point returned by [method map_get_closest_point].
|
|
|
</description>
|
|
|
</method>
|
|
|
<method name="map_get_closest_point_to_segment" qualifiers="const">
|
|
@@ -193,9 +202,9 @@
|
|
|
</return>
|
|
|
<argument index="0" name="map" type="RID">
|
|
|
</argument>
|
|
|
- <argument index="1" name="from" type="Vector3">
|
|
|
+ <argument index="1" name="start" type="Vector3">
|
|
|
</argument>
|
|
|
- <argument index="2" name="to" type="Vector3">
|
|
|
+ <argument index="2" name="end" type="Vector3">
|
|
|
</argument>
|
|
|
<argument index="3" name="use_collision" type="bool" default="false">
|
|
|
</argument>
|
|
@@ -203,37 +212,28 @@
|
|
|
Returns the closest point between the navigation surface and the segment.
|
|
|
</description>
|
|
|
</method>
|
|
|
- <method name="map_get_closest_point" qualifiers="const">
|
|
|
- <return type="Vector3">
|
|
|
+ <method name="map_get_edge_connection_margin" qualifiers="const">
|
|
|
+ <return type="float">
|
|
|
</return>
|
|
|
<argument index="0" name="map" type="RID">
|
|
|
</argument>
|
|
|
- <argument index="1" name="point" type="Vector3">
|
|
|
- </argument>
|
|
|
<description>
|
|
|
- Returns the point closest to the provided [code]point[/code] on the navigation mesh surface.
|
|
|
+ Returns the edge connection margin of the map.
|
|
|
</description>
|
|
|
</method>
|
|
|
- <method name="map_get_closest_point_normal" qualifiers="const">
|
|
|
- <return type="Vector3">
|
|
|
+ <method name="map_get_path" qualifiers="const">
|
|
|
+ <return type="PackedVector3Array">
|
|
|
</return>
|
|
|
<argument index="0" name="map" type="RID">
|
|
|
</argument>
|
|
|
- <argument index="1" name="point" type="Vector3">
|
|
|
+ <argument index="1" name="origin" type="Vector3">
|
|
|
</argument>
|
|
|
- <description>
|
|
|
- Returns the normal for the point returned by [method map_get_closest_point].
|
|
|
- </description>
|
|
|
- </method>
|
|
|
- <method name="map_get_closest_point_owner" qualifiers="const">
|
|
|
- <return type="RID">
|
|
|
- </return>
|
|
|
- <argument index="0" name="map" type="RID">
|
|
|
+ <argument index="2" name="destination" type="Vector3">
|
|
|
</argument>
|
|
|
- <argument index="1" name="point" type="Vector3">
|
|
|
+ <argument index="3" name="optimize" type="bool">
|
|
|
</argument>
|
|
|
<description>
|
|
|
- Returns the owner region RID for the point returned by [method map_get_closest_point].
|
|
|
+ Returns the navigation path to reach the destination from the origin.
|
|
|
</description>
|
|
|
</method>
|
|
|
<method name="map_get_up" qualifiers="const">
|