From c5d7115038de5f83cb83e08748615a84fc26bee2 Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Sat, 6 Aug 2022 21:11:48 +0300 Subject: Rename the argument tag to param in XML documentation --- doc/classes/Node2D.xml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'doc/classes/Node2D.xml') diff --git a/doc/classes/Node2D.xml b/doc/classes/Node2D.xml index 2238be4ece..50392ea59a 100644 --- a/doc/classes/Node2D.xml +++ b/doc/classes/Node2D.xml @@ -13,14 +13,14 @@ - + Multiplies the current scale by the [code]ratio[/code] vector. - + Returns the angle between the node and the [code]point[/code] in radians. [url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/node2d_get_angle_to.png]Illustration of the returned angle.[/url] @@ -28,65 +28,65 @@ - + Returns the [Transform2D] relative to this node's parent. - + Adds the [code]offset[/code] vector to the node's global position. - + Rotates the node so it points towards the [code]point[/code], which is expected to use global coordinates. - - + + Applies a local translation on the node's X axis based on the [method Node._process]'s [code]delta[/code]. If [code]scaled[/code] is [code]false[/code], normalizes the movement. - - + + Applies a local translation on the node's Y axis based on the [method Node._process]'s [code]delta[/code]. If [code]scaled[/code] is [code]false[/code], normalizes the movement. - + Applies a rotation to the node, in radians, starting from its current rotation. - + Transforms the provided local position into a position in global coordinate space. The input is expected to be local relative to the [Node2D] it is called on. e.g. Applying this method to the positions of child nodes will correctly transform their positions into the global coordinate space, but applying it to a node's own position will give an incorrect result, as it will incorporate the node's own transformation into its global position. - + Transforms the provided global position into a position in local coordinate space. The output will be local relative to the [Node2D] it is called on. e.g. It is appropriate for determining the positions of child nodes, but it is not appropriate for determining its own position relative to its parent. - + Translates the node by the given [code]offset[/code] in local coordinates. -- cgit v1.2.3