Quaternion Members
Include Protected Members
Include Inherited Members
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Describes a four-dimensional vector (x, y, z, w).
The Quaternion type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() ![]() |
Quaternion | Initializes a new instance of the Quaternion class. |
Top
Methods
Name | Description | |
---|---|---|
![]() ![]() ![]() |
Add | Adds two quaternions. |
![]() ![]() ![]() |
Conjugate | Returns the conjugate of a quaternion. |
![]() ![]() ![]() |
Dot | Returns the dot product of two quaternions. |
![]() ![]() |
Equals | Returns a value that indicates whether the current instance is equal to a specified object. (Overrides ValueType.Equals(Object).) |
![]() ![]() ![]() |
Exp | Overloaded. Calculates the exponential of a quaternion. |
![]() ![]() |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() |
GetHashCode | Returns the hash code for the current instance. (Overrides ValueType.GetHashCode().) |
![]() ![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() ![]() |
Invert | Overloaded. Conjugates and renormalizes a quaternion. |
![]() ![]() ![]() |
Length | Overloaded. Returns the length of a quaternion. |
![]() ![]() ![]() |
LengthSq | Overloaded. Returns the square of the length of a quaternion. |
![]() ![]() ![]() |
Ln | Overloaded. Calculates the natural logarithm of a quaternion. |
![]() ![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() ![]() |
Multiply | Overloaded. Determines the product of two quaternions. |
![]() ![]() ![]() |
Normalize | Overloaded. Creates the norm of a quaternion. |
![]() ![]() ![]() |
RotationAxis | Builds a quaternion that is rotated around an arbitrary axis. |
![]() ![]() ![]() |
RotationMatrix | Builds a quaternion from a rotation matrix. |
![]() ![]() ![]() |
RotationYawPitchRoll | Builds a quaternion with the given yaw, pitch, and roll. |
![]() ![]() ![]() |
Slerp | Interpolates between two quaternions, using spherical linear interpolation. |
![]() ![]() ![]() |
Squad | Interpolates between quaternions, using spherical quadrangle interpolation. |
![]() ![]() ![]() |
SquadSetup | Sets up control points for spherical quadrangle interpolation. |
![]() ![]() ![]() |
Subtract | Subtracts two quaternion instances. |
![]() ![]() ![]() |
ToAxisAngle | Computes the axis and angle of rotation for a quaternion. |
![]() ![]() |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Operators
Name | Description | |
---|---|---|
![]() ![]() ![]() |
Addition | Adds two instances of the Quaternion structure. |
![]() ![]() ![]() |
Equality | Compares the specified quaternions to determine whether they are the same. |
![]() ![]() ![]() |
Inequality | Compares the current specified quaternions to determine whether they are different. |
![]() ![]() ![]() |
Multiply | Overloaded. Determines the product of two quaternions. |
![]() ![]() ![]() |
Subtraction | Subtracts two quaternions. |
![]() ![]() ![]() |
UnaryNegation | Returns the negation of the specified quaternion. |
Top
Fields
Name | Description | |
---|---|---|
![]() ![]() |
W | Represents the w component of the quaternion. |
![]() ![]() |
X | Represents the x component of the quaternion. |
![]() ![]() |
Y | Represents the y component of the quaternion. |
![]() ![]() |
Z | Represents the z component of the quaternion. |
Top
Properties
Name | Description | |
---|---|---|
![]() ![]() ![]() |
Identity | Gets an identity quaternion. |
![]() ![]() ![]() |
Zero | Gets an empty quaternion. |
Top