Expose is_baking method in navigation servers and region nodes.

This commit is contained in:
Pawel Lampe 2024-01-29 22:28:01 +01:00
parent 4b6ad34988
commit c2cfc0d409
24 changed files with 137 additions and 12 deletions

View file

@ -49,6 +49,12 @@
Returns the [RID] of this region on the [NavigationServer3D]. Combined with [method NavigationServer3D.map_get_closest_point_owner] can be used to identify the [NavigationRegion3D] closest to a point on the merged navigation map.
</description>
</method>
<method name="is_baking" qualifiers="const">
<return type="bool" />
<description>
Returns [code]true[/code] when the [NavigationMesh] is being baked on a background thread.
</description>
</method>
<method name="set_navigation_layer_value">
<return type="void" />
<param index="0" name="layer_number" type="int" />