Recalculates the Quaternion to the angles of yaw, pitch and roll.
            
    Namespace: 
   SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
 Syntax
Syntax
| C# | 
|---|
| [EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static void QuaternionToYawPitchRoll( Quaternion q, out float yaw, out float pitch, out float roll, float orgYaw ) | 
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.
- orgYaw
- Type: System..::.Single
 The original value of yaw in radians.
 Remarks
Remarks
            There are many possibile way of recalculation, so the preferred one is that with roll equal to 0, if possible.
            If the roll is near to ±90°, the value of yaw would be ambiguous, so the
            value of  will be chosen. In the case of the value  being equal to the 
            NaN, the yaw will be ±180°.
            





