Skip to content

Commit

Permalink
doc: Sync classref with current source
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga committed Sep 10, 2018
1 parent bf286ed commit c320d93
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/classes/@GDScript.xml
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@
</description>
</method>
<method name="get_stack">
<return type="void">
<return type="Array">
</return>
<description>
</description>
Expand Down
6 changes: 6 additions & 0 deletions doc/classes/CanvasItem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion doc/classes/Control.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down
4 changes: 2 additions & 2 deletions doc/classes/MainLoop.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
26 changes: 26 additions & 0 deletions doc/classes/MultiMesh.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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">
Expand All @@ -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>
6 changes: 6 additions & 0 deletions doc/classes/Spatial.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit c320d93

Please sign in to comment.