Change navigation map synchronization to an async process

Changes the navigation map synchronization to an async process to avoid stalling the main thread.
This commit is contained in:
smix8
2024-12-15 20:31:13 +01:00
parent 0454122b3c
commit d51615b334
29 changed files with 1274 additions and 489 deletions

View File

@ -641,6 +641,13 @@
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" />
@ -711,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" />