Microsoft DirectX 9.0 SDK Update (October 2004)

MatrixStack.RotateYawPitchRollLocal 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 RotateYawPitchRollLocal( _
    ByVal yaw As Single, _
    ByVal pitch As Single, _
    ByVal roll As Single _
)
C# public void RotateYawPitchRollLocal(
    float yaw,
    float pitch,
    float roll
);
Managed C++ public: void RotateYawPitchRollLocal(
    float yaw,
    float pitch,
    float roll
);
JScript .NET public function RotateYawPitchRollLocal(
    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 left-multiplies the current matrix with the computed rotation matrix. All angles are counterclockwise and rotation is about the local origin of the object.

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