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

Matrix4x4::CreateFromYawPitchRoll Method

Creates a rotation matrix from the specified yaw, pitch, and roll.

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

public:
static Matrix4x4 CreateFromYawPitchRoll(
	float yaw, 
	float pitch, 
	float roll
)

Parameters

yaw
Type: System::Single

The angle of rotation, in radians, around the Y axis.

pitch
Type: System::Single

The angle of rotation, in radians, around the X axis.

roll
Type: System::Single

The angle of rotation, in radians, around the Z axis.

Return Value

Type: System.Numerics::Matrix4x4
The rotation matrix.
Show:
© 2017 Microsoft