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 index="0" name="bit" type="int">
</argument> </argument>
<description> <description>
Returns [code]true[/code] if the bit index passed is turned on. Note that bit indexes range from 0-19.
</description> </description>
</method> </method>
<method name="get_collision_normal" qualifiers="const"> <method name="get_collision_normal" qualifiers="const">
@ -126,6 +127,7 @@
<argument index="1" name="value" type="bool"> <argument index="1" name="value" type="bool">
</argument> </argument>
<description> <description>
Sets the bit index passed to the [code]value[/code] passed. Note that bit indexes range from 0-19.
</description> </description>
</method> </method>
</methods> </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. The ray's collision mask. Only objects in at least one collision layer enabled in the mask will be detected.
</member> </member>
<member name="enabled" type="bool" setter="set_enabled" getter="is_enabled"> <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>
<member name="exclude_parent" type="bool" setter="set_exclude_parent_body" getter="get_exclude_parent_body"> <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> </member>
</members> </members>
<constants> <constants>