Quaternion.CreateFromRotationMatrix Method (Matrix)
Creates a Quaternion from a rotation Matrix.
Syntax
'Declaration
Public Shared Function CreateFromRotationMatrix ( _
matrix As Matrix _
) As Quaternion
public static Quaternion CreateFromRotationMatrix (
Matrix matrix
)
public:
static Quaternion CreateFromRotationMatrix(
Matrix matrix
)
Parameters
- matrix
Type: Matrix
The rotation Matrix to create the Quaternion from.
Return Value
Type: Quaternion
The created Quaternion.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone