diff options
author | Nathan Lovato <nathan@gdquest.com> | 2017-10-27 09:36:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-27 09:36:31 +0200 |
commit | bc4213b37dc6f004d2fcfbba97b523300556b85d (patch) | |
tree | 2a7f5484833283e4a1a3f9ac5c41ad2b2b6212b3 /doc/classes | |
parent | 369a119963a504582b06fdbfb92c32ad87643805 (diff) | |
parent | 1c378f918da96e3d00e604ce62bafa50881847df (diff) |
Merge pull request #12426 from MattUV/node2d-correction
[DOCS] Corrected some typing mistakes on Node2D.xml
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Node2D.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/Node2D.xml b/doc/classes/Node2D.xml index b00020b227..669a0fb9ff 100644 --- a/doc/classes/Node2D.xml +++ b/doc/classes/Node2D.xml @@ -322,13 +322,13 @@ Position, relative to the node's parent. </member> <member name="rotation" type="float" setter="set_rotation" getter="get_rotation"> - Rotation in radians. + Rotation in radians, relative to the node's parent. </member> <member name="rotation_deg" type="float" setter="set_rotation_in_degrees" getter="get_rotation_in_degrees"> - Rotation in degrees. + Rotation in degrees, relative to the node's parent. </member> <member name="scale" type="Vector2" setter="set_scale" getter="get_scale"> - Rotation in degrees. + The node's scale. Unscaled value: [code](1, 1)[/code] </member> <member name="transform" type="Transform2D" setter="set_transform" getter="get_transform"> Local [Transform2D]. @@ -337,7 +337,7 @@ Z-index. Controls the order in which the nodes render. A node with a higher Z-index will display in front of others. </member> <member name="z_as_relative" type="bool" setter="set_z_as_relative" getter="is_z_relative"> - Make the node's Z-index relative to its parent's Z-index. If this node's Z-index is 2 and its parent's effective Z-index is 3, then this node's effective Z-index will be 2 + 3 = 5. + If [code]true[/code] the node's Z-index is relative to its parent's Z-index. If this node's Z-index is 2 and its parent's effective Z-index is 3, then this node's effective Z-index will be 2 + 3 = 5. </member> </members> <constants> |