Change 2D navigation region and link updates to an async process

Changes 2D navigation region and link updates to an async process.
This commit is contained in:
smix8
2025-06-11 00:40:36 +02:00
parent db57f282fa
commit 2458370de4
22 changed files with 1084 additions and 481 deletions

View File

@ -905,6 +905,13 @@
Returns the travel cost of this [param region].
</description>
</method>
<method name="region_get_use_async_iterations" qualifiers="const">
<return type="bool" />
<param index="0" name="region" type="RID" />
<description>
Returns [code]true[/code] if the [param region] uses an async synchronization process that runs on a background thread.
</description>
</method>
<method name="region_get_use_edge_connections" qualifiers="const">
<return type="bool" />
<param index="0" name="region" type="RID" />
@ -986,6 +993,14 @@
Sets the [param travel_cost] for this [param region].
</description>
</method>
<method name="region_set_use_async_iterations">
<return type="void" />
<param index="0" name="region" type="RID" />
<param index="1" name="enabled" type="bool" />
<description>
If [param enabled] is [code]true[/code] the [param region] uses an async synchronization process that runs on a background thread.
</description>
</method>
<method name="region_set_use_edge_connections">
<return type="void" />
<param index="0" name="region" type="RID" />