doc: Sync classref with current source
Lots of internal API changes and some docstrings were lost in the conversion. I manually salvaged many of them but for all the rendering-related ones, an additional pass is needed. Added missing enum bindings in BaseMaterial3D and VisualServer.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="Navigation2DServer" inherits="Object" category="Core" version="3.2">
|
||||
<class name="Navigation2DServer" inherits="Object" version="4.0">
|
||||
<brief_description>
|
||||
Server interface for low-level 2D navigation access
|
||||
</brief_description>
|
||||
@@ -16,8 +16,8 @@
|
||||
Creates the agent.
|
||||
</description>
|
||||
</method>
|
||||
<method name="agent_is_map_changed">
|
||||
<return type="bool" qualifiers="const">
|
||||
<method name="agent_is_map_changed" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="agent" type="RID">
|
||||
</argument>
|
||||
@@ -89,7 +89,7 @@
|
||||
</return>
|
||||
<argument index="0" name="agent" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="position" type="Vector3">
|
||||
<argument index="1" name="position" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
Sets the position of the agent in world space.
|
||||
@@ -111,7 +111,7 @@
|
||||
</return>
|
||||
<argument index="0" name="agent" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="target_velocity" type="Vector3">
|
||||
<argument index="1" name="target_velocity" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
Sets the new target velocity.
|
||||
@@ -133,7 +133,7 @@
|
||||
</return>
|
||||
<argument index="0" name="agent" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="velocity" type="Vector3">
|
||||
<argument index="1" name="velocity" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
Sets the current velocity of the agent.
|
||||
@@ -155,7 +155,7 @@
|
||||
Create a new map.
|
||||
</description>
|
||||
</method>
|
||||
<method name="map_get_cell_size">
|
||||
<method name="map_get_cell_size" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="map" type="RID">
|
||||
@@ -191,7 +191,7 @@
|
||||
<method name="map_is_active" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="map" type="RID">
|
||||
<argument index="0" name="nap" type="RID">
|
||||
</argument>
|
||||
<description>
|
||||
Returns true if the map is active.
|
||||
@@ -264,11 +264,13 @@
|
||||
</return>
|
||||
<argument index="0" name="region" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="transform" type="Transform">
|
||||
<argument index="1" name="transform" type="Transform2D">
|
||||
</argument>
|
||||
<description>
|
||||
Sets the global transformation for the region.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
||||
|
||||
Reference in New Issue
Block a user