diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-01 22:55:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-01 22:55:12 +0200 |
commit | e60408b0e9463bbab904cae3c333eb87d19e8c6f (patch) | |
tree | f1cb6d10d20565219c7d08aa53ba01fe3acb55dc /doc/classes/Spatial.xml | |
parent | 4e6c89dbce4f15dba35dccd7bc071c10df77f19d (diff) | |
parent | c049c8fbb9907fc7048b06c2a5c4be67a1e62dda (diff) |
Merge pull request #21670 from cbscribe/kcc_class_edits
[DOCS] Classref additions and corrections
Diffstat (limited to 'doc/classes/Spatial.xml')
-rw-r--r-- | doc/classes/Spatial.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/Spatial.xml b/doc/classes/Spatial.xml index ef1bcc30b3..4fa60b2e44 100644 --- a/doc/classes/Spatial.xml +++ b/doc/classes/Spatial.xml @@ -296,11 +296,11 @@ World space (global) [Transform] of this node. </member> <member name="rotation" type="Vector3" setter="set_rotation" getter="get_rotation"> - Rotation part of the local transformation, specified in terms of YXZ-Euler angles in the format (X-angle, Y-angle, Z-angle), in radians. - Note that in the mathematical sense, rotation is a matrix and not a vector. The three Euler angles, which are the three indepdent parameters of the Euler-angle parametrization of the rotation matrix, are stored in a [Vector3] data structure not because the rotation is a vector, but only because [Vector3] exists as a convenient data-structure to store 3 floating point numbers. Therefore, applying affine operations on the rotation "vector" is not meaningful. + Rotation part of the local transformation in radians, specified in terms of YXZ-Euler angles in the format (X-angle, Y-angle, Z-angle). + Note that in the mathematical sense, rotation is a matrix and not a vector. The three Euler angles, which are the three independent parameters of the Euler-angle parametrization of the rotation matrix, are stored in a [Vector3] data structure not because the rotation is a vector, but only because [Vector3] exists as a convenient data-structure to store 3 floating point numbers. Therefore, applying affine operations on the rotation "vector" is not meaningful. </member> <member name="rotation_degrees" type="Vector3" setter="set_rotation_degrees" getter="get_rotation_degrees"> - Rotation part of the local transformation, specified in terms of YXZ-Euler angles in the format (X-angle, Y-angle, Z-angle), in degrees. + Rotation part of the local transformation in degrees, specified in terms of YXZ-Euler angles in the format (X-angle, Y-angle, Z-angle). </member> <member name="scale" type="Vector3" setter="set_scale" getter="get_scale"> Scale part of the local transformation. @@ -312,7 +312,7 @@ Local translation of this node. </member> <member name="visible" type="bool" setter="set_visible" getter="is_visible"> - Visibility of this node. Toggles if this node is rendered. + If [code]true[/code] this node is drawn. Default value: [code]true[/code]. </member> </members> <signals> |