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

Quaternion::CreateFromYawPitchRoll Method

Creates a new quaternion from the given yaw, pitch, and roll.

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

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

Parameters

yaw
Type: System::Single

The yaw angle, in radians, around the Y axis.

pitch
Type: System::Single

The pitch angle, in radians, around the X axis.

roll
Type: System::Single

The roll angle, in radians, around the Z axis.

Return Value

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