Share via


Matrix.CreateFromQuaternion Method (Quaternion)

Creates a rotation Matrix from a Quaternion.

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

Syntax

public static Matrix CreateFromQuaternion (
         Quaternion quaternion
)

Parameters

Return Value

The created Matrix.

See Also

Reference

Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista