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

Top

Methods

  Name Description
Public methodStatic memberSupported by the .NET Compact Framework Add Adds two quaternions.
Public methodStatic memberSupported by the .NET Compact Framework Conjugate Returns the conjugate of a quaternion.
Public methodStatic memberSupported by the .NET Compact Framework Dot Returns the dot product of two quaternions.
Public methodSupported by the .NET Compact Framework Equals Returns a value that indicates whether the current instance is equal to a specified object. (Overrides ValueType.Equals(Object).)
Public methodStatic memberSupported by the .NET Compact Framework Exp Overloaded. Calculates the exponential of a quaternion.
Protected methodSupported 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.)
Public methodSupported by the .NET Compact Framework GetHashCode Returns the hash code for the current instance. (Overrides ValueType.GetHashCode().)
Public methodSupported by the .NET Compact Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact Framework Invert Overloaded. Conjugates and renormalizes a quaternion.
Public methodStatic memberSupported by the .NET Compact Framework Length Overloaded. Returns the length of a quaternion.
Public methodStatic memberSupported by the .NET Compact Framework LengthSq Overloaded. Returns the square of the length of a quaternion.
Public methodStatic memberSupported by the .NET Compact Framework Ln Overloaded. Calculates the natural logarithm of a quaternion.
Protected methodSupported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact Framework Multiply Overloaded. Determines the product of two quaternions.
Public methodStatic memberSupported by the .NET Compact Framework Normalize Overloaded. Creates the norm of a quaternion.
Public methodStatic memberSupported by the .NET Compact Framework RotationAxis Builds a quaternion that is rotated around an arbitrary axis.
Public methodStatic memberSupported by the .NET Compact Framework RotationMatrix Builds a quaternion from a rotation matrix.
Public methodStatic memberSupported by the .NET Compact Framework RotationYawPitchRoll Builds a quaternion with the given yaw, pitch, and roll.
Public methodStatic memberSupported by the .NET Compact Framework Slerp Interpolates between two quaternions, using spherical linear interpolation.
Public methodStatic memberSupported by the .NET Compact Framework Squad Interpolates between quaternions, using spherical quadrangle interpolation.
Public methodStatic memberSupported by the .NET Compact Framework SquadSetup Sets up control points for spherical quadrangle interpolation.
Public methodStatic memberSupported by the .NET Compact Framework Subtract Subtracts two quaternion instances.
Public methodStatic memberSupported by the .NET Compact Framework ToAxisAngle Computes the axis and angle of rotation for a quaternion.
Public methodSupported by the .NET Compact Framework ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Operators

  Name Description
Public operatorStatic memberSupported by the .NET Compact Framework Addition Adds two instances of the Quaternion structure.
Public operatorStatic memberSupported by the .NET Compact Framework Equality Compares the specified quaternions to determine whether they are the same.
Public operatorStatic memberSupported by the .NET Compact Framework Inequality Compares the current specified quaternions to determine whether they are different.
Public operatorStatic memberSupported by the .NET Compact Framework Multiply Overloaded. Determines the product of two quaternions.
Public operatorStatic memberSupported by the .NET Compact Framework Subtraction Subtracts two quaternions.
Public operatorStatic memberSupported by the .NET Compact Framework UnaryNegation Returns the negation of the specified quaternion.

Top

Fields

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

Top

Properties

  Name Description
Public propertyStatic memberSupported by the .NET Compact Framework Identity Gets an identity quaternion.
Public propertyStatic memberSupported by the .NET Compact Framework Zero Gets an empty quaternion.

Top

See Also

Reference

Quaternion Structure

Microsoft.WindowsMobile.DirectX Namespace