Matrix.CreateFromQuaternion Method (Quaternion, Matrix)
Creates a rotation Matrix from a Quaternion.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public static void CreateFromQuaternion (
ref Quaternion quaternion,
out Matrix result
)
Parameters
- quaternion
Quaternion to create the Matrix from. - result
[OutAttribute] The created Matrix.
See Also
Reference
Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista