Quaternion Structure

Defines a quaternion.

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

Syntax

[TypeConverterAttribute("typeof(Microsoft.Xna.Framework.Design.QuaternionConverter)")]
[SerializableAttribute]
public struct Quaternion : IEquatable<Quaternion>

Remarks

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.

See Also

Reference

Quaternion Members
Microsoft.Xna.Framework Namespace

Programming Guide

Math Overview

Platforms

Xbox 360, Windows XP SP2, Windows Vista