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

Builds a matrix that rotates around the z-axis.

Definition

Visual Basic Public Shared Function RotationZ( _
    ByVal angle As Single _
) As Matrix
C# public static Matrix RotationZ(
    float angle
);
C++ public:
static Matrix RotationZ(
    float angle
);
JScript public static function RotationZ(
    angle : float
) : Matrix;

Parameters

angle System.Single
Angle of rotation, in radians. Angles are measured clockwise when viewed from the rotation axis (positive side) toward the origin.

Return Value

Microsoft.DirectX.Matrix
Rotated Matrix structure.

See Also