MatrixStack.RotateYawPitchRoll(Single,Single,Single) Method (Microsoft.DirectX)

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 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
);
C++ public:
void RotateYawPitchRoll(
    float yaw,
    float pitch,
    float roll
);
JScript 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