瀏覽代碼

Merge pull request #14385 from NathanWarden/raycast_docs

[DOCS] Finished off the RayCast documentation.
Chris Bradfield 7 年之前
父節點
當前提交
6f764d3f0a
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      doc/classes/RayCast.xml

+ 4 - 1
doc/classes/RayCast.xml

@@ -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>