Merge pull request #70731 from smix8/navigationserver_performance_monitor_4.x
Add NavigationServer Performance Monitor
This commit is contained in:
@@ -134,6 +134,13 @@
|
||||
Returns all created navigation map [RID]s on the NavigationServer. This returns both 2D and 3D created navigation maps as there is technically no distinction between them.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_process_info" qualifiers="const">
|
||||
<return type="int" />
|
||||
<param index="0" name="process_info" type="int" enum="NavigationServer3D.ProcessInfo" />
|
||||
<description>
|
||||
Returns information about the current state of the NavigationServer. See [enum ProcessInfo] for a list of available states.
|
||||
</description>
|
||||
</method>
|
||||
<method name="link_create">
|
||||
<return type="RID" />
|
||||
<description>
|
||||
@@ -593,4 +600,33 @@
|
||||
</description>
|
||||
</signal>
|
||||
</signals>
|
||||
<constants>
|
||||
<constant name="INFO_ACTIVE_MAPS" value="0" enum="ProcessInfo">
|
||||
Constant to get the number of active navigation maps.
|
||||
</constant>
|
||||
<constant name="INFO_REGION_COUNT" value="1" enum="ProcessInfo">
|
||||
Constant to get the number of active navigation regions.
|
||||
</constant>
|
||||
<constant name="INFO_AGENT_COUNT" value="2" enum="ProcessInfo">
|
||||
Constant to get the number of active navigation agents processing avoidance.
|
||||
</constant>
|
||||
<constant name="INFO_LINK_COUNT" value="3" enum="ProcessInfo">
|
||||
Constant to get the number of active navigation links.
|
||||
</constant>
|
||||
<constant name="INFO_POLYGON_COUNT" value="4" enum="ProcessInfo">
|
||||
Constant to get the number of navigation mesh polygons.
|
||||
</constant>
|
||||
<constant name="INFO_EDGE_COUNT" value="5" enum="ProcessInfo">
|
||||
Constant to get the number of navigation mesh polygon edges.
|
||||
</constant>
|
||||
<constant name="INFO_EDGE_MERGE_COUNT" value="6" enum="ProcessInfo">
|
||||
Constant to get the number of navigation mesh polygon edges that were merged due to edge key overlap.
|
||||
</constant>
|
||||
<constant name="INFO_EDGE_CONNECTION_COUNT" value="7" enum="ProcessInfo">
|
||||
Constant to get the number of navigation mesh polygon edges that are considered connected by edge proximity.
|
||||
</constant>
|
||||
<constant name="INFO_EDGE_FREE_COUNT" value="8" enum="ProcessInfo">
|
||||
Constant to get the number of navigation mesh polygon edges that could not be merged but may be still connected by edge proximity or with links.
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
||||
|
||||
Reference in New Issue
Block a user