feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -147,7 +147,7 @@
|
|||
<return type="bool" />
|
||||
<param index="0" name="agent" type="RID" />
|
||||
<description>
|
||||
Returns true if the map got changed the previous frame.
|
||||
Returns [code]true[/code] if the map got changed the previous frame.
|
||||
</description>
|
||||
</method>
|
||||
<method name="agent_set_avoidance_callback">
|
||||
|
|
@ -237,7 +237,7 @@
|
|||
<param index="0" name="agent" type="RID" />
|
||||
<param index="1" name="paused" type="bool" />
|
||||
<description>
|
||||
If [param paused] is true the specified [param agent] will not be processed, e.g. calculate avoidance velocities or receive avoidance callbacks.
|
||||
If [param paused] is [code]true[/code] the specified [param agent] will not be processed, e.g. calculate avoidance velocities or receive avoidance callbacks.
|
||||
</description>
|
||||
</method>
|
||||
<method name="agent_set_position">
|
||||
|
|
@ -532,7 +532,7 @@
|
|||
<param index="0" name="map" type="RID" />
|
||||
<param index="1" name="to_point" type="Vector3" />
|
||||
<description>
|
||||
Returns the point closest to the provided [param to_point] on the navigation mesh surface.
|
||||
Returns the navigation mesh surface point closest to the provided [param to_point] on the navigation [param map].
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_get_closest_point_normal" qualifiers="const">
|
||||
|
|
@ -540,7 +540,7 @@
|
|||
<param index="0" name="map" type="RID" />
|
||||
<param index="1" name="to_point" type="Vector3" />
|
||||
<description>
|
||||
Returns the normal for the point returned by [method map_get_closest_point].
|
||||
Returns the navigation mesh surface normal closest to the provided [param to_point] on the navigation [param map].
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_get_closest_point_owner" qualifiers="const">
|
||||
|
|
@ -548,7 +548,7 @@
|
|||
<param index="0" name="map" type="RID" />
|
||||
<param index="1" name="to_point" type="Vector3" />
|
||||
<description>
|
||||
Returns the owner region RID for the point returned by [method map_get_closest_point].
|
||||
Returns the owner region RID for the navigation mesh surface point closest to the provided [param to_point] on the navigation [param map].
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_get_closest_point_to_segment" qualifiers="const">
|
||||
|
|
@ -558,7 +558,8 @@
|
|||
<param index="2" name="end" type="Vector3" />
|
||||
<param index="3" name="use_collision" type="bool" default="false" />
|
||||
<description>
|
||||
Returns the closest point between the navigation surface and the segment.
|
||||
Returns the navigation mesh surface point closest to the provided [param start] and [param end] segment on the navigation [param map].
|
||||
If [param use_collision] is [code]true[/code], a closest point test is only done when the segment intersects with the navigation mesh surface.
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_get_edge_connection_margin" qualifiers="const">
|
||||
|
|
@ -604,7 +605,7 @@
|
|||
Returns all navigation obstacle [RID]s that are currently assigned to the requested navigation [param map].
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_get_path" qualifiers="const">
|
||||
<method name="map_get_path">
|
||||
<return type="PackedVector3Array" />
|
||||
<param index="0" name="map" type="RID" />
|
||||
<param index="1" name="origin" type="Vector3" />
|
||||
|
|
@ -640,18 +641,25 @@
|
|||
Returns the map's up direction.
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_get_use_async_iterations" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="map" type="RID" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the [param map] synchronization uses an async process that runs on a background thread.
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_get_use_edge_connections" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="map" type="RID" />
|
||||
<description>
|
||||
Returns true if the navigation [param map] allows navigation regions to use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
|
||||
Returns [code]true[/code] if the navigation [param map] allows navigation regions to use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_is_active" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="map" type="RID" />
|
||||
<description>
|
||||
Returns true if the map is active.
|
||||
Returns [code]true[/code] if the map is active.
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_set_active">
|
||||
|
|
@ -710,6 +718,14 @@
|
|||
Sets the map up direction.
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_set_use_async_iterations">
|
||||
<return type="void" />
|
||||
<param index="0" name="map" type="RID" />
|
||||
<param index="1" name="enabled" type="bool" />
|
||||
<description>
|
||||
If [param enabled] is [code]true[/code] the [param map] synchronization uses an async process that runs on a background thread.
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_set_use_edge_connections">
|
||||
<return type="void" />
|
||||
<param index="0" name="map" type="RID" />
|
||||
|
|
@ -831,7 +847,7 @@
|
|||
<param index="0" name="obstacle" type="RID" />
|
||||
<param index="1" name="paused" type="bool" />
|
||||
<description>
|
||||
If [param paused] is true the specified [param obstacle] will not be processed, e.g. affect avoidance velocities.
|
||||
If [param paused] is [code]true[/code] the specified [param obstacle] will not be processed, e.g. affect avoidance velocities.
|
||||
</description>
|
||||
</method>
|
||||
<method name="obstacle_set_position">
|
||||
|
|
@ -886,12 +902,13 @@
|
|||
[b]Performance:[/b] While convenient, reading data arrays from [Mesh] resources can affect the frame rate negatively. The data needs to be received from the GPU, stalling the [RenderingServer] in the process. For performance prefer the use of e.g. collision shapes or creating the data arrays entirely in code.
|
||||
</description>
|
||||
</method>
|
||||
<method name="query_path" qualifiers="const">
|
||||
<method name="query_path">
|
||||
<return type="void" />
|
||||
<param index="0" name="parameters" type="NavigationPathQueryParameters3D" />
|
||||
<param index="1" name="result" type="NavigationPathQueryResult3D" />
|
||||
<param index="2" name="callback" type="Callable" default="Callable()" />
|
||||
<description>
|
||||
Queries a path in a given navigation map. Start and target position and other parameters are defined through [NavigationPathQueryParameters3D]. Updates the provided [NavigationPathQueryResult3D] result object with the path among other results requested by the query.
|
||||
Queries a path in a given navigation map. Start and target position and other parameters are defined through [NavigationPathQueryParameters3D]. Updates the provided [NavigationPathQueryResult3D] result object with the path among other results requested by the query. After the process is finished the optional [param callback] will be called.
|
||||
</description>
|
||||
</method>
|
||||
<method name="region_bake_navigation_mesh" deprecated="This method is deprecated due to core threading changes. To upgrade existing code, first create a [NavigationMeshSourceGeometryData3D] resource. Use this resource with [method parse_source_geometry_data] to parse the [SceneTree] for nodes that should contribute to the navigation mesh baking. The [SceneTree] parsing needs to happen on the main thread. After the parsing is finished use the resource with [method bake_from_source_geometry_data] to bake a navigation mesh.">
|
||||
|
|
@ -908,6 +925,40 @@
|
|||
Creates a new region.
|
||||
</description>
|
||||
</method>
|
||||
<method name="region_get_bounds" qualifiers="const">
|
||||
<return type="AABB" />
|
||||
<param index="0" name="region" type="RID" />
|
||||
<description>
|
||||
Returns the axis-aligned bounding box for the [param region]'s transformed navigation mesh.
|
||||
</description>
|
||||
</method>
|
||||
<method name="region_get_closest_point" qualifiers="const">
|
||||
<return type="Vector3" />
|
||||
<param index="0" name="region" type="RID" />
|
||||
<param index="1" name="to_point" type="Vector3" />
|
||||
<description>
|
||||
Returns the navigation mesh surface point closest to the provided [param to_point] on the navigation [param region].
|
||||
</description>
|
||||
</method>
|
||||
<method name="region_get_closest_point_normal" qualifiers="const">
|
||||
<return type="Vector3" />
|
||||
<param index="0" name="region" type="RID" />
|
||||
<param index="1" name="to_point" type="Vector3" />
|
||||
<description>
|
||||
Returns the navigation mesh surface normal closest to the provided [param to_point] on the navigation [param region].
|
||||
</description>
|
||||
</method>
|
||||
<method name="region_get_closest_point_to_segment" qualifiers="const">
|
||||
<return type="Vector3" />
|
||||
<param index="0" name="region" type="RID" />
|
||||
<param index="1" name="start" type="Vector3" />
|
||||
<param index="2" name="end" type="Vector3" />
|
||||
<param index="3" name="use_collision" type="bool" default="false" />
|
||||
<description>
|
||||
Returns the navigation mesh surface point closest to the provided [param start] and [param end] segment on the navigation [param region].
|
||||
If [param use_collision] is [code]true[/code], a closest point test is only done when the segment intersects with the navigation mesh surface.
|
||||
</description>
|
||||
</method>
|
||||
<method name="region_get_connection_pathway_end" qualifiers="const">
|
||||
<return type="Vector3" />
|
||||
<param index="0" name="region" type="RID" />
|
||||
|
|
@ -995,7 +1046,7 @@
|
|||
<return type="bool" />
|
||||
<param index="0" name="region" type="RID" />
|
||||
<description>
|
||||
Returns true if the navigation [param region] is set to use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
|
||||
Returns [code]true[/code] if the navigation [param region] is set to use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
|
||||
</description>
|
||||
</method>
|
||||
<method name="region_owns_point" qualifiers="const">
|
||||
|
|
@ -1167,5 +1218,8 @@
|
|||
<constant name="INFO_EDGE_FREE_COUNT" value="8" enum="ProcessInfo">
|
||||
Constant to get the number of navigation mesh polygon edges that could not be merged but may be still connected by edge proximity or with links.
|
||||
</constant>
|
||||
<constant name="INFO_OBSTACLE_COUNT" value="9" enum="ProcessInfo">
|
||||
Constant to get the number of active navigation obstacles.
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue