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:
@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user