Matrix.CreateFromQuaternion Method (Quaternion, Matrix)
Creates a rotation Matrix from a Quaternion.
Syntax
'Declaration
Public Shared Sub CreateFromQuaternion ( _
ref quaternion As Quaternion, _
out result As Matrix _
)
public static void CreateFromQuaternion (
ref Quaternion quaternion,
out Matrix result
)
public:
static void CreateFromQuaternion(
ref Quaternion quaternion,
out Matrix result
)
Parameters
- quaternion
Type: Quaternion
Quaternion to create the Matrix from. - result
Type: Matrix
[OutAttribute] The created Matrix.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone