Quaternion.CreateFromRotationMatrix Method (Matrix)

Creates a Quaternion from a rotation Matrix.

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

Syntax

public static Quaternion CreateFromRotationMatrix (
         Matrix matrix
)

Parameters

Return Value

The created Quaternion.

See Also

Reference

Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista