Recalculates the Quaternion to the angles of yaw, pitch and roll.
            
    Namespace: 
   SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# | 
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static void QuaternionToYawPitchRoll( Quaternion q, out float yaw, out float pitch, out float roll )  | 
Parameters
- q
 - Type: Quaternion
Rotation. 
- yaw
 - Type: 
            System..::.Single
          %
The return value for yaw (rotation along the Y axis) in radians. 
- pitch
 - Type: 
            System..::.Single
          %
The return value for pitch (rotation along the X axis) in radians. 
- roll
 - Type: 
            System..::.Single
          %
The return value for roll (rotation along the Z axis) in radians. 
Remarks
            There are many possibile way of recalculation, so the preferred one is that with roll equal to 0, if possible.
            If the pitch is near to ±90°, the value of yaw would be ambiguous, so the value of ±180° is chosen.