Quaternion Members
The following tables list the members exposed by the Quaternion type.
Public Constructors
Name | Description | |
---|---|---|
Quaternion | Overloaded. Initializes a new instance of Quaternion. |
Public Fields
Name | Description | |
---|---|---|
W | Specifies the rotation component of the quaternion. | |
X | Specifies the x-value of the vector component of the quaternion. | |
Y | Specifies the y-value of the vector component of the quaternion. | |
Z | Specifies the z-value of the vector component of the quaternion. |
Public Properties
Name | Description | |
---|---|---|
Identity | Returns a Quaternion representing no rotation. |
Public Methods
Name | Description | |
---|---|---|
Add | Overloaded. Adds two Quaternions. | |
Concatenate | Overloaded. Concatenates two Quaternions; the result represents the first rotation followed by the second rotation. | |
Conjugate | Overloaded. Calculates the conjugate of a Quaternion. | |
CreateFromAxisAngle | Overloaded. Creates a Quaternion from a vector and an angle to rotate about the vector. | |
CreateFromRotationMatrix | Overloaded. Creates a Quaternion from a rotation Matrix. | |
CreateFromYawPitchRoll | Overloaded. Creates a new Quaternion from specified yaw, pitch, and roll angles. | |
Divide | Overloaded. Divides a Quaternion by another Quaternion. | |
Dot | Overloaded. Calculates the dot product of two Quaternions. | |
Equals | Overloaded. Returns a value that indicates whether the current instance is equal to a specified object. | |
GetHashCode | Get the hash code of this object. | |
GetType | (Inherited from Object.) | |
Inverse | Overloaded. Returns the inverse of a Quaternion. | |
Length | Calculates the length of a Quaternion. | |
LengthSquared | Calculates the length squared of a Quaternion. | |
Lerp | Overloaded. Linearly interpolates between two quaternions. | |
Multiply | Overloaded. Multiplies a quaternion by a scalar or another quaternion. | |
Negate | Overloaded. Flips the sign of each component of the quaternion. | |
Normalize | Overloaded. Divides each component of a quaternion by the length of the quaternion. | |
op_Addition | Adds two Quaternions. | |
op_Division | Divides a Quaternion by another Quaternion. | |
op_Equality | Compares two Quaternions for equality. | |
op_Inequality | Compare two Quaternions for inequality. | |
op_Multiply | Overloaded. Multiplies a quaternion by a scalar or another quaternion. | |
op_Subtraction | Subtracts a quaternion from another quaternion. | |
op_UnaryNegation | Flips the sign of each component of the quaternion. | |
ReferenceEquals | (Inherited from Object.) | |
Slerp | Overloaded. Interpolates between two quaternions, using spherical linear interpolation. | |
Subtract | Overloaded. Subtracts a quaternion from another quaternion. | |
ToString | Retireves a string representation of the current object. |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |