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