Quaternion.RotationYawPitchRoll(Single,Single,Single) Method (Microsoft.DirectX)

Builds a quaternion with the given yaw, pitch, and roll.


Visual Basic Public Shared Function RotationYawPitchRoll( _
    ByVal yaw As Single, _
    ByVal pitch As Single, _
    ByVal roll As Single _
) As Quaternion
C# public static Quaternion RotationYawPitchRoll(
    float yaw,
    float pitch,
    float roll
C++ public:
static Quaternion RotationYawPitchRoll(
    float yaw,
    float pitch,
    float roll
JScript public static function RotationYawPitchRoll(
    yaw : float,
    pitch : float,
    roll : float
) : Quaternion;


yaw System.Single
Yaw around the y-axis, in radians.
pitch System.Single
Pitch around the x-axis, in radians.
roll System.Single
Roll around the z-axis, in radians.

Return Value

A Quaternion structure with the specified yaw, pitch, and roll.

See Also