Quaternion Members
Describes a four-dimensional vector (x, y, z, w).
The following tables list the members exposed by the Quaternion type.
Public Constructors
Name | Description | |
---|---|---|
Quaternion | Initializes a new instance of the Quaternion class. |
Top
Public 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
Public Properties
Name | Description | |
---|---|---|
Identity | Gets an identity quaternion. | |
Zero | Gets an empty quaternion. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Add | Adds two quaternions. | |
Conjugate | Returns the conjugate of a quaternion. | |
Dot | Returns the dot product of two quaternions. | |
Equals | Overloaded. Overridden. | |
Exp | Overloaded. Calculates the exponential of a quaternion. | |
GetHashCode | Overridden. Returns the hash code for the current instance. | |
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. | |
Multiply | Overloaded. Determines the product of two quaternions. | |
Normalize | Overloaded. Creates the norm of a quaternion. | |
op_Addition | Adds two instances of the Quaternion structure. | |
op_Equality | Compares the specified quaternions to determine whether they are the same. | |
op_Inequality | Compares the current specified quaternions to determine whether they are different. | |
op_Multiply | Overloaded. Determines the product of two quaternions. | |
op_Subtraction | Subtracts two quaternions. | |
op_UnaryNegation | Returns the negation of the specified quaternion. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) | |
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
Protected Methods
Name | Description | |
---|---|---|
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.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Top
See Also
Reference
Quaternion Structure
Microsoft.WindowsMobile.DirectX Namespace