Merge pull request #14385 from NathanWarden/raycast_docs
[DOCS] Finished off the RayCast documentation.
This commit is contained in:
commit
6f764d3f0a
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue