diff options
Diffstat (limited to 'doc/classes/NodePath.xml')
-rw-r--r-- | doc/classes/NodePath.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/classes/NodePath.xml b/doc/classes/NodePath.xml index d9e0680a38..9db100c9f8 100644 --- a/doc/classes/NodePath.xml +++ b/doc/classes/NodePath.xml @@ -35,14 +35,14 @@ </constructor> <constructor name="NodePath"> <return type="NodePath" /> - <argument index="0" name="from" type="NodePath" /> + <param index="0" name="from" type="NodePath" /> <description> Constructs a [NodePath] as a copy of the given [NodePath]. [code]NodePath("example")[/code] is equivalent to [code]^"example"[/code]. </description> </constructor> <constructor name="NodePath"> <return type="NodePath" /> - <argument index="0" name="from" type="String" /> + <param index="0" name="from" type="String" /> <description> Creates a NodePath from a string, e.g. [code]"Path2D/PathFollow2D/Sprite2D:texture:size"[/code]. A path is absolute if it starts with a slash. Absolute paths are only valid in the global scene tree, not within individual scenes. In a relative path, [code]"."[/code] and [code]".."[/code] indicate the current node and its parent. The "subnames" optionally included after the path to the target node can point to resources or properties, and can also be nested. @@ -111,9 +111,9 @@ </method> <method name="get_name" qualifiers="const"> <return type="StringName" /> - <argument index="0" name="idx" type="int" /> + <param index="0" name="idx" type="int" /> <description> - Gets the node name indicated by [code]idx[/code] (0 to [method get_name_count] - 1). + Gets the node name indicated by [param idx] (0 to [method get_name_count] - 1). [codeblocks] [gdscript] var node_path = NodePath("Path2D/PathFollow2D/Sprite2D") @@ -139,9 +139,9 @@ </method> <method name="get_subname" qualifiers="const"> <return type="StringName" /> - <argument index="0" name="idx" type="int" /> + <param index="0" name="idx" type="int" /> <description> - Gets the resource or property name indicated by [code]idx[/code] (0 to [method get_subname_count]). + Gets the resource or property name indicated by [param idx] (0 to [method get_subname_count]). [codeblocks] [gdscript] var node_path = NodePath("Path2D/PathFollow2D/Sprite2D:texture:load_path") @@ -185,13 +185,13 @@ <operators> <operator name="operator !="> <return type="bool" /> - <argument index="0" name="right" type="NodePath" /> + <param index="0" name="right" type="NodePath" /> <description> </description> </operator> <operator name="operator =="> <return type="bool" /> - <argument index="0" name="right" type="NodePath" /> + <param index="0" name="right" type="NodePath" /> <description> </description> </operator> |