Share via


MatrixStack.RotateYawPitchRollLocal(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 RotateYawPitchRollLocal( _
    ByVal yaw As Single, _
    ByVal pitch As Single, _
    ByVal roll As Single _
)
C# public void RotateYawPitchRollLocal(
    float yaw,
    float pitch,
    float roll
);
C++ public:
void RotateYawPitchRollLocal(
    float yaw,
    float pitch,
    float roll
);
JScript 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