[]
        
(Showing Draft Content)

C1.Util.DX.Matrix3x2.Rotation

Rotation Method

Rotation(float)

Creates a matrix that rotates.

Declaration
public static Matrix3x2 Rotation(float degrees)
Public Shared Function Rotation(degrees As Single) As Matrix3x2
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)
Public Shared Function Rotation(degrees As Single, center As Point2F) As Matrix3x2
Parameters
Type Name Description
float degrees
Point2F center
Returns
Type Description
Matrix3x2