Click or drag to resize

UtilDecomposeAngles Method (Matrix, Vector3)

Return the Yaw (Y rotation), Pitch (X rotation), and Roll (Z rotation) Euler angles for the supplied Matrix.

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static void DecomposeAngles(
	Matrix m,
	out Vector3 angles
)

Parameters

m
Type: Microsoft.DirectXMatrix
Input Matrix.
angles
Type: Microsoft.DirectXVector3
Output Vector3 passed by reference, containing the X, Y and Z rotations.
See Also