[]
        
(Showing Draft Content)

C1.Util.DX.Matrix3x2.Rotation

Rotation Method

Rotation(float)

Creates a matrix that rotates.

Declaration
public static Matrix3x2 Rotation(float degrees)
Parameters
Type Name Description
float degrees

Angle of rotation, in degrees. Angles are measured clockwise when looking along the rotation axis.

Returns
Type Description
Matrix3x2

The created rotation matrix.

Rotation(float, Point2F)

Creates a matrix that rotates.

Declaration
public static Matrix3x2 Rotation(float degrees, Point2F center)
Parameters
Type Name Description
float degrees
Point2F center
Returns
Type Description
Matrix3x2