Share via


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
Public method Supported by the .NET Compact Framework Quaternion Initializes a new instance of the Quaternion class.

Top

Public Fields

  Name Description
Public field Supported by the .NET Compact Framework W Represents the w component of the quaternion.
Public field Supported by the .NET Compact Framework X Represents the x component of the quaternion.
Public field Supported by the .NET Compact Framework Y Represents the y component of the quaternion.
Public field Supported by the .NET Compact Framework Z Represents the z component of the quaternion.

Top

Public Properties

  Name Description
Public property Static Supported by the .NET Compact Framework Identity Gets an identity quaternion.
Public property Static Supported by the .NET Compact Framework Zero Gets an empty quaternion.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Static Supported by the .NET Compact Framework Add Adds two quaternions.
Public method Static Supported by the .NET Compact Framework Conjugate Returns the conjugate of a quaternion.
Public method Static Supported by the .NET Compact Framework Dot Returns the dot product of two quaternions.
Public method Supported by the .NET Compact Framework Equals Overloaded. Overridden.  
Public method Supported by the .NET Compact Framework Exp Overloaded. Calculates the exponential of a quaternion.
Public method Supported by the .NET Compact Framework GetHashCode Overridden. Returns the hash code for the current instance.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Invert Overloaded. Conjugates and renormalizes a quaternion.
Public method Supported by the .NET Compact Framework Length Overloaded. Returns the length of a quaternion.
Public method Supported by the .NET Compact Framework LengthSq Overloaded. Returns the square of the length of a quaternion.
Public method Supported by the .NET Compact Framework Ln Overloaded. Calculates the natural logarithm of a quaternion.
Public method Supported by the .NET Compact Framework Multiply Overloaded. Determines the product of two quaternions.
Public method Supported by the .NET Compact Framework Normalize Overloaded. Creates the norm of a quaternion.
Public method Static Supported by the .NET Compact Framework op_Addition Adds two instances of the Quaternion structure.
Public method Static Supported by the .NET Compact Framework op_Equality Compares the specified quaternions to determine whether they are the same.
Public method Static Supported by the .NET Compact Framework op_Inequality Compares the current specified quaternions to determine whether they are different.
Public method Static Supported by the .NET Compact Framework op_Multiply Overloaded. Determines the product of two quaternions.
Public method Static Supported by the .NET Compact Framework op_Subtraction Subtracts two quaternions.
Public method Static Supported by the .NET Compact Framework op_UnaryNegation Returns the negation of the specified quaternion.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework RotationAxis Builds a quaternion that is rotated around an arbitrary axis.
Public method Static Supported by the .NET Compact Framework RotationMatrix Builds a quaternion from a rotation matrix.
Public method Static Supported by the .NET Compact Framework RotationYawPitchRoll Builds a quaternion with the given yaw, pitch, and roll.
Public method Static Supported by the .NET Compact Framework Slerp Interpolates between two quaternions, using spherical linear interpolation.
Public method Static Supported by the .NET Compact Framework Squad Interpolates between quaternions, using spherical quadrangle interpolation.
Public method Static Supported by the .NET Compact Framework SquadSetup Sets up control points for spherical quadrangle interpolation.
Public method Static Supported by the .NET Compact Framework Subtract Subtracts two quaternion instances.
Public method Static Supported by the .NET Compact Framework ToAxisAngle Computes the axis and angle of rotation for a quaternion.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework 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.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)

Top

See Also

Reference

Quaternion Structure
Microsoft.WindowsMobile.DirectX Namespace

Other Resources

Mobile Direct3D Programming