Matrix.RotationZ Method

Language:

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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center