Microsoft DirectX 9.0 SDK Update (October 2004)

MatrixStack.RotateYawPitchRoll Method

Language:

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

Determines the product of the current matrix and the computed rotation matrix, which is composed of a given yaw, pitch, and roll.

Definition

Visual Basic .NET Public Sub RotateYawPitchRoll( _
    ByVal yaw As Single, _
    ByVal pitch As Single, _
    ByVal roll As Single _
)
C# public void RotateYawPitchRoll(
    float yaw,
    float pitch,
    float roll
);
Managed C++ public: void RotateYawPitchRoll(
    float yaw,
    float pitch,
    float roll
);
JScript .NET public function RotateYawPitchRoll(
    yaw : float,
    pitch : float,
    roll : float
);

Parameters

yaw System.Single. Floating-point value that represents the yaw around the y-axis, in radians.
pitch System.Single. Floating-point value that represents the pitch around the x-axis, in radians.
roll System.Single. Floating-point value that represents the roll around the z-axis, in radians.

Remarks

This method right-multiplies the current matrix by the computed rotation matrix. All angles are counterclockwise and rotation is about the current world origin.

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.

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