Microsoft DirectX 9.0 SDK Update (October 2004)

Quaternion.RotationYawPitchRoll Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET 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
);
Managed C++ public: static Quaternion RotationYawPitchRoll(
    float yaw,
    float pitch,
    float roll
);
JScript .NET public static function RotationYawPitchRoll(
    yaw : float,
    pitch : float,
    roll : float
) : Quaternion;

Parameters

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

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

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center