doc: Sync classref with current source

This commit is contained in:
Poommetee Ketson 2018-11-10 20:21:34 +07:00
parent 11b2f90590
commit 0babb60c74
14 changed files with 110 additions and 31 deletions

View file

@ -24,6 +24,16 @@
Adds a shape to the area, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index.
</description>
</method>
<method name="area_attach_canvas_instance_id">
<return type="void">
</return>
<argument index="0" name="area" type="RID">
</argument>
<argument index="1" name="id" type="int">
</argument>
<description>
</description>
</method>
<method name="area_attach_object_instance_id">
<return type="void">
</return>
@ -51,6 +61,14 @@
Creates an [Area2D].
</description>
</method>
<method name="area_get_canvas_instance_id" qualifiers="const">
<return type="int">
</return>
<argument index="0" name="area" type="RID">
</argument>
<description>
</description>
</method>
<method name="area_get_object_instance_id" qualifiers="const">
<return type="int">
</return>
@ -377,6 +395,16 @@
<description>
</description>
</method>
<method name="body_attach_canvas_instance_id">
<return type="void">
</return>
<argument index="0" name="body" type="RID">
</argument>
<argument index="1" name="id" type="int">
</argument>
<description>
</description>
</method>
<method name="body_attach_object_instance_id">
<return type="void">
</return>
@ -404,6 +432,14 @@
Creates a physics body. The first parameter can be any value from constants BODY_MODE*, for the type of body created. Additionally, the body can be created in sleeping state to save processing time.
</description>
</method>
<method name="body_get_canvas_instance_id" qualifiers="const">
<return type="int">
</return>
<argument index="0" name="body" type="RID">
</argument>
<description>
</description>
</method>
<method name="body_get_collision_layer" qualifiers="const">
<return type="int">
</return>