doc: Sync classref with current source

This commit is contained in:
Rémi Verschelde 2018-09-11 00:18:05 +02:00
parent bf286ed182
commit c320d9394d
6 changed files with 42 additions and 4 deletions

View File

@ -412,7 +412,7 @@
</description>
</method>
<method name="get_stack">
<return type="void">
<return type="Array">
</return>
<description>
</description>

View File

@ -330,6 +330,12 @@
Draws a textured rectangle region at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture.
</description>
</method>
<method name="force_update_transform">
<return type="void">
</return>
<description>
</description>
</method>
<method name="get_canvas" qualifiers="const">
<return type="RID">
</return>

View File

@ -723,7 +723,7 @@
</description>
</signal>
<signal name="gui_input">
<argument index="0" name="ev" type="InputEvent">
<argument index="0" name="event" type="InputEvent">
</argument>
<description>
Emitted when the node receives an [InputEvent].

View File

@ -47,7 +47,7 @@
<method name="_input_event" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="ev" type="InputEvent">
<argument index="0" name="event" type="InputEvent">
</argument>
<description>
</description>
@ -91,7 +91,7 @@
<method name="input_event">
<return type="void">
</return>
<argument index="0" name="ev" type="InputEvent">
<argument index="0" name="event" type="InputEvent">
</argument>
<description>
</description>

View File

@ -30,6 +30,14 @@
Get the color of a specific instance.
</description>
</method>
<method name="get_instance_custom_data" qualifiers="const">
<return type="Color">
</return>
<argument index="0" name="instance" type="int">
</argument>
<description>
</description>
</method>
<method name="get_instance_transform" qualifiers="const">
<return type="Transform">
</return>
@ -50,6 +58,16 @@
Set the color of a specific instance.
</description>
</method>
<method name="set_instance_custom_data">
<return type="void">
</return>
<argument index="0" name="instance" type="int">
</argument>
<argument index="1" name="custom_data" type="Color">
</argument>
<description>
</description>
</method>
<method name="set_instance_transform">
<return type="void">
</return>
@ -65,6 +83,8 @@
<members>
<member name="color_format" type="int" setter="set_color_format" getter="get_color_format" enum="MultiMesh.ColorFormat">
</member>
<member name="custom_data_format" type="int" setter="set_custom_data_format" getter="get_custom_data_format" enum="MultiMesh.CustomDataFormat">
</member>
<member name="instance_count" type="int" setter="set_instance_count" getter="get_instance_count">
</member>
<member name="mesh" type="Mesh" setter="set_mesh" getter="get_mesh">
@ -83,5 +103,11 @@
</constant>
<constant name="COLOR_FLOAT" value="2" enum="ColorFormat">
</constant>
<constant name="CUSTOM_DATA_NONE" value="0" enum="CustomDataFormat">
</constant>
<constant name="CUSTOM_DATA_8BIT" value="1" enum="CustomDataFormat">
</constant>
<constant name="CUSTOM_DATA_FLOAT" value="2" enum="CustomDataFormat">
</constant>
</constants>
</class>

View File

@ -13,6 +13,12 @@
<demos>
</demos>
<methods>
<method name="force_update_transform">
<return type="void">
</return>
<description>
</description>
</method>
<method name="get_parent_spatial" qualifiers="const">
<return type="Spatial">
</return>