Quaternion.ToEulerAngles Method

Converts this quaternion to Euler angles.
Public Sub ToEulerAngles( _ 
ByRef roll As Double, _ 
ByRef pitch As Double, _ 
ByRef yaw As Double
)
This language is not supported or no code example is available.
public void ToEulerAngles( 
out double roll
out double pitch
out double yaw 
)
This language is not supported or no code example is available.

Parameters

roll
double

Roll angle in radians

pitch
double

Pitch angle in radians

yaw
double

Yaw angle in radians

Remarks
 
Singularities at north/south poles (gimbal lock) are not handled by this method.

.NET Framework

Supported in: 4.8

In this article

Definition