Explorar o código

Merge pull request #38606 from cbscribe/kcc_classdoc_updates

[DOCS] minor description changes
Rémi Verschelde %!s(int64=5) %!d(string=hai) anos
pai
achega
c304b66a68
Modificáronse 3 ficheiros con 4 adicións e 4 borrados
  1. 2 2
      doc/classes/Engine.xml
  2. 1 1
      doc/classes/Node.xml
  3. 1 1
      doc/classes/Vector3.xml

+ 2 - 2
doc/classes/Engine.xml

@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <class name="Engine" inherits="Object" version="4.0">
 	<brief_description>
-		Access to basic engine properties.
+		Access to engine properties.
 	</brief_description>
 	<description>
-		The [Engine] class allows you to query and modify the project's run-time parameters, such as frames per second, time scale, and others.
+		The [Engine] singleton allows you to query and modify the project's run-time parameters, such as frames per second, time scale, and others.
 	</description>
 	<tutorials>
 	</tutorials>

+ 1 - 1
doc/classes/Node.xml

@@ -305,7 +305,7 @@
 			<return type="Node">
 			</return>
 			<description>
-				Returns the parent node of the current node, or an empty [Node] if the node lacks a parent.
+				Returns the parent node of the current node, or a [code]null instance[/code] if the node lacks a parent.
 			</description>
 		</method>
 		<method name="get_path" qualifiers="const">

+ 1 - 1
doc/classes/Vector3.xml

@@ -309,7 +309,7 @@
 			<argument index="0" name="by" type="Vector3">
 			</argument>
 			<description>
-				Returns a copy of the vector snapped to the lowest neared multiple.
+				Returns the vector snapped to a grid with the given size.
 			</description>
 		</method>
 		<method name="to_diagonal_matrix">