Merge pull request #14385 from NathanWarden/raycast_docs

[DOCS] Finished off the RayCast documentation.
This commit is contained in:
Chris Bradfield 2017-12-07 20:13:12 -08:00 committed by GitHub
commit 6f764d3f0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,6 +77,7 @@
<argument index="0" name="bit" type="int">
</argument>
<description>
Returns [code]true[/code] if the bit index passed is turned on. Note that bit indexes range from 0-19.
</description>
</method>
<method name="get_collision_normal" qualifiers="const">
@ -126,6 +127,7 @@
<argument index="1" name="value" type="bool">
</argument>
<description>
Sets the bit index passed to the [code]value[/code] passed. Note that bit indexes range from 0-19.
</description>
</method>
</methods>
@ -137,9 +139,10 @@
The ray's collision mask. Only objects in at least one collision layer enabled in the mask will be detected.
</member>
<member name="enabled" type="bool" setter="set_enabled" getter="is_enabled">
If [code]true[/code], collisions will be reported. Default value: [code]false[/code].
If [code]true[/code] collisions will be reported. Default value: [code]false[/code].
</member>
<member name="exclude_parent" type="bool" setter="set_exclude_parent_body" getter="get_exclude_parent_body">
If [code]true[/code] collisions will be ignored for this RayCast's immediate parent. Default value: [code]true[/code].
</member>
</members>
<constants>