Method RotationYawPitchRoll
RotationYawPitchRoll(Single, Single, Single)
Creates a Quaternion from the given yaw, pitch, and roll, in radians.
Declaration
public static Quaternion RotationYawPitchRoll(float yaw, float pitch, float roll)
Parameters
Type | Name | Description |
---|---|---|
System.Single | yaw | The yaw angle, in radians, around the Z-axis. |
System.Single | pitch | The pitch angle, in radians, around the X-axis. |
System.Single | roll | The roll angle, in radians, around the Y-axis. |
Returns
Type | Description |
---|---|
Quaternion | The newly created quaternion. |