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