![]() |
Quaternion Methods |
The Quaternion type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Add |
Adds two Quaternions element-by-element.
|
![]() ![]() | Concatenate |
Concatenates two Quaternions; the result represents the value1 rotation followed by the value2 rotation.
|
![]() ![]() | Conjugate |
Creates the conjugate of a specified Quaternion.
|
![]() ![]() | CreateFromAxisAngle |
Creates a Quaternion from a vector and an angle to rotate about the vector.
|
![]() ![]() | CreateFromRotationMatrix |
Creates a Quaternion from the given rotation matrix.
|
![]() ![]() | CreateFromYawPitchRoll |
Creates a new Quaternion from the given yaw, pitch, and roll, in radians.
|
![]() ![]() | Divide |
Divides a Quaternion by another Quaternion.
|
![]() ![]() | Dot |
Calculates the dot product of two Quaternions.
|
![]() | Equals(Object) |
Returns a boolean indicating whether the given Object is equal to this Quaternion instance.
(Overrides ValueTypeEquals(Object).) |
![]() | Equals(Quaternion) |
Returns a boolean indicating whether the given Quaternion is equal to this Quaternion instance.
|
![]() | GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Inverse |
Returns the inverse of a Quaternion.
|
![]() | Length |
Calculates the length of the Quaternion.
|
![]() | LengthSquared |
Calculates the length squared of the Quaternion. This operation is cheaper than Length().
|
![]() ![]() | Lerp |
Linearly interpolates between two quaternions.
|
![]() ![]() | Multiply(Quaternion, Quaternion) |
Multiplies two Quaternions together.
|
![]() ![]() | Multiply(Quaternion, Double) |
Multiplies a Quaternion by a scalar value.
|
![]() ![]() | Negate |
Flips the sign of each component of the quaternion.
|
![]() ![]() | Normalize |
Divides each component of the Quaternion by the length of the Quaternion.
|
![]() ![]() | Slerp |
Interpolates between two quaternions, using spherical linear interpolation.
|
![]() ![]() | Subtract |
Subtracts one Quaternion from another.
|
![]() | ToString |
Returns a String representing this Quaternion instance.
(Overrides ValueTypeToString.) |