Method RotationZ
RotationZ(Single)
Creates a matrix that rotates around the z-axis.
Declaration
public static Matrix RotationZ(float angle)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | angle | Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis toward the origin. |
Returns
| Type | Description |
|---|---|
| Matrix | The created rotation matrix. |