Share via


Matrix.RotateAxis(Vector3,Single) Method (Microsoft.DirectX)

Rotates the matrix around an arbitrary axis.

Definition

Visual Basic Public Sub RotateAxis( _
    ByVal axisRotation As Vector3, _
    ByVal angle As Single _
)
C# public void RotateAxis(
    Vector3 axisRotation,
    float angle
);
C++ public:
void RotateAxis(
    Vector3 axisRotation,
    float angle
);
JScript public function RotateAxis(
    axisRotation : Vector3,
    angle : float
);

Parameters

axisRotation Microsoft.DirectX.Vector3
A Vector3 structure that identifies the axis about which to rotate the matrix.
angle System.Single
Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.

See Also