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
- matrix
The rotation Matrix to create the Quaternion from.
Return Value
The created Quaternion.
See Also
Reference
Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista