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
+20
View File
@@ -75,6 +75,26 @@
Additionally, the method can take an [code]exclude[/code] array of objects or [RID]s that are to be excluded from collisions, a [code]collision_mask[/code] bitmask representing the physics layers to check in, or booleans to determine if the ray should collide with [PhysicsBody]s or [Area]s, respectively.
</description>
</method>
<method name="intersect_point_on_canvas">
<return type="Array">
</return>
<argument index="0" name="point" type="Vector2">
</argument>
<argument index="1" name="canvas_instance_id" type="int">
</argument>
<argument index="2" name="max_results" type="int" default="32">
</argument>
<argument index="3" name="exclude" type="Array" default="[ ]">
</argument>
<argument index="4" name="collision_layer" type="int" default="2147483647">
</argument>
<argument index="5" name="collide_with_bodies" type="bool" default="true">
</argument>
<argument index="6" name="collide_with_areas" type="bool" default="false">
</argument>
<description>
</description>
</method>
<method name="intersect_ray">
<return type="Dictionary">
</return>