Quaternion Methods |
The Quaternion type exposes the following members.
| Name | Description | |
|---|---|---|
| Add(Quaternion, Quaternion) | Creates a new Quaternion that contains the sum of two quaternions. | |
| Add(Quaternion, Quaternion, Quaternion) | Creates a new Quaternion that contains the sum of two quaternions. | |
| Concatenate(Quaternion, Quaternion) | Creates a new Quaternion that contains concatenation between two quaternion. | |
| Concatenate(Quaternion, Quaternion, Quaternion) | Creates a new Quaternion that contains concatenation between two quaternion. | |
| Conjugate | Transforms this quaternion into its conjugated version. | |
| Conjugate(Quaternion) | Creates a new Quaternion that contains conjugated version of the specified quaternion. | |
| Conjugate(Quaternion, Quaternion) | Creates a new Quaternion that contains conjugated version of the specified quaternion. | |
| CreateFromAxisAngle(Vector3, Double) | Creates a new Quaternion from the specified axis and angle. | |
| CreateFromAxisAngle(Vector3, Double, Quaternion) | Creates a new Quaternion from the specified axis and angle. | |
| CreateFromRotationMatrix(Matrix44) | Creates a new Quaternion from the specified Matrix44. | |
| CreateFromRotationMatrix(Matrix44, Quaternion) | Creates a new Quaternion from the specified Matrix44. | |
| CreateFromYawPitchRoll(Double, Double, Double) | Creates a new Quaternion from the specified yaw, pitch and roll angles. | |
| CreateFromYawPitchRoll(Double, Double, Double, Quaternion) | Creates a new Quaternion from the specified yaw, pitch and roll angles. | |
| Divide(Quaternion, Quaternion) | Divides a Quaternion by the other Quaternion. | |
| Divide(Quaternion, Quaternion, Quaternion) | Divides a Quaternion by the other Quaternion. | |
| Dot(Quaternion, Quaternion) | Returns a dot product of two quaternions. | |
| Dot(Quaternion, Quaternion, Double) | Returns a dot product of two quaternions. | |
| Equals(Object) |
Compares whether current instance is equal to specified Object.
(Overrides ValueTypeEquals(Object)) | |
| Equals(Quaternion) | Compares whether current instance is equal to specified Quaternion. | |
| GetHashCode |
Gets the hash code of this Quaternion.
(Overrides ValueTypeGetHashCode) | |
| Inverse(Quaternion) | Returns the inverse quaternion which represents the opposite rotation. | |
| Inverse(Quaternion, Quaternion) | Returns the inverse quaternion which represents the opposite rotation. | |
| Length | Returns the magnitude of the quaternion components. | |
| LengthSquared | Returns the squared magnitude of the quaternion components. | |
| Lerp(Quaternion, Quaternion, Double) | Performs a linear blend between two quaternions. | |
| Lerp(Quaternion, Quaternion, Double, Quaternion) | Performs a linear blend between two quaternions. | |
| Multiply(Quaternion, Quaternion) | Creates a new Quaternion that contains a multiplication of two quaternions. | |
| Multiply(Quaternion, Double) | Creates a new Quaternion that contains a multiplication of Quaternion and a scalar. | |
| Multiply(Quaternion, Quaternion, Quaternion) | Creates a new Quaternion that contains a multiplication of two quaternions. | |
| Multiply(Quaternion, Double, Quaternion) | Creates a new Quaternion that contains a multiplication of Quaternion and a scalar. | |
| Negate(Quaternion) | Flips the sign of the all the quaternion components. | |
| Negate(Quaternion, Quaternion) | Flips the sign of the all the quaternion components. | |
| Normalize | Scales the quaternion magnitude to unit length. | |
| Normalize(Quaternion) | Scales the quaternion magnitude to unit length. | |
| Normalize(Quaternion, Quaternion) | Scales the quaternion magnitude to unit length. | |
| Slerp(Quaternion, Quaternion, Double) | Performs a spherical linear blend between two quaternions. | |
| Slerp(Quaternion, Quaternion, Double, Quaternion) | Performs a spherical linear blend between two quaternions. | |
| Subtract(Quaternion, Quaternion) | Creates a new Quaternion that contains subtraction of one Quaternion from another. | |
| Subtract(Quaternion, Quaternion, Quaternion) | Creates a new Quaternion that contains subtraction of one Quaternion from another. | |
| ToString |
Returns a String representation of this Quaternion in the format:
{X:[X] Y:[Y] Z:[Z] W:[W]}
(Overrides ValueTypeToString) |