Matrix.RotationX(Single) Method (Microsoft.DirectX)

Builds a matrix that rotates around the x-axis.

Definition

Visual BasicPublic Shared Function RotationX( _
    ByVal angle As Single _
) As Matrix
C#public static Matrix RotationX(
    float angle
);
C++public:
static Matrix RotationX(
    float angle
);
JScriptpublic static function RotationX(
    angle : float
) : Matrix;

Parameters

angle System.Single
Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.

Return Value

Microsoft.DirectX.Matrix
Rotated Matrix structure.

Remarks

The input rotation angle is in radians.

See Also

Show: