Click or drag to resize

MatrixRotationYawPitchRollDegrees Method (Vector3)

Form a rotation Matrix from Yaw (Y-Axis rotation), Pitch (X-Axis rotation) and Roll (Z-Axis rotation) contained within the Vector3 with Yaw being the Y component, Pitch being the X component and Roll being the the Z component.

Namespace:  Microsoft.DirectX
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static Matrix RotationYawPitchRollDegrees(
	Vector3 ypr
)

Parameters

ypr
Type: Microsoft.DirectXVector3
Vector3 containing the Yaw/Pitch/Roll in degrees.

Return Value

Type: Matrix
Resulting rotation Matrix.
See Also