Quaternion 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.
[System.Serializable]
public struct Quaternion : IEquatable<OpenTK.Quaternion>
type Quaternion = struct
- Inheritance
-
Quaternion
- Attributes
- Implements
Constructors
Quaternion(Matrix3) | |
Quaternion(Single, Single, Single, Single) |
Construct a new Quaternion |
Quaternion(Vector3, Single) |
Fields
Identity |
Defines the identity quaternion. |
Properties
Length |
Gets the length (magnitude) of the quaternion. |
LengthSquared |
Gets the square of the quaternion length (magnitude). |
W |
Gets or sets the W component of this instance. |
X |
Gets or sets the X component of this instance. |
Xyz |
Gets or sets an OpenTK.Vector3 with the X, Y and Z components of this instance. |
XYZ |
Obsolete.
Gets or sets an OpenTK.Vector3 with the X, Y and Z components of this instance. |
Y |
Gets or sets the Y component of this instance. |
Z |
Gets or sets the Z component of this instance. |