Quaternion Structure

Defines a quaternion.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public struct Quaternion : IEquatable<Quaternion>

Quaternions represent a rotation and are typically used for smooth interpolation between two angles and for avoiding the gimbal lock problem that can occur with euler angles.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions