The Quaternions type exposes the following properties.
Properties
![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() |
Member | Description | |
---|---|---|
![]() | AxisAngle |
Get or set the equaivalent axis angle representation. (x,y,z) is the rotatation axis and |(x,y,z)| is the rotation angle in radians
|
![]() | RotationAngle |
Get the rotation angle in radian
|
![]() | RotationAxis |
Get the rotation axis of the quaternion
|
![]() | W |
The W component of the quaternion: the value for cos(rotation angle / 2)
|
![]() | X |
The X component of the vector: rotation axis * sin(rotation angle / 2)
|
![]() | Y |
The Y component of the vector: rotation axis * sin(rotation angle / 2)
|
![]() | Z |
The Z component of the vector: rotation axis * sin(rotation angle / 2)
|