CMQuaternion Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a Quaternion, used as one of the possible CMAttitude representations.
public struct CMQuaternion
type CMQuaternion = struct
- Inheritance
-
CMQuaternion
Remarks
Quaternions can be used to specify a non-ambiguous rotation. They avoid the issue of gymbal lock and are simpler to compose.
Constructors
CMQuaternion(Double, Double, Double, Double) |
Constructs a new CMQuaternion with the specified components. |
Fields
w |
The real part of the quaternion. |
x |
The imaginary x component. |
y |
The imaginary y component. |
z |
The imaginary z component. |
Methods
ToString() |
In the form $"quaternion({x},{y},{z},{w}"). |