Windows apps
Collapse the table of content
Expand the table of content

Quaternion::CreateFromRotationMatrix Method

Creates a quaternion from the specified rotation matrix.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Quaternion CreateFromRotationMatrix(
	Matrix4x4 matrix
)

Parameters

matrix
Type: System.Numerics::Matrix4x4

The rotation matrix.

Return Value

Type: System.Numerics::Quaternion
The newly created quaternion.
Show:
© 2017 Microsoft