Share via


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

Builds a matrix that rotates around the x-axis.

Definition

Visual Basic Public Shared Function RotationX( _
    ByVal angle As Single _
) As Matrix
C# public static Matrix RotationX(
    float angle
);
C++ public:
static Matrix RotationX(
    float angle
);
JScript public 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