Matrix.Rotate

Rotate(float, MatrixOrder)

Applies a clockwise rotation of an amount specified in the angle parameter, around the origin (zero x and y coordinates) for this Matrix in the specified order.

public void Rotate(float angle, MatrixOrder order)
ParameterTypeDescription
angleSingleThe rotate angle.
orderMatrixOrderThe matrix order.

See Also


Rotate(float)

Applies a clockwise rotation of an amount specified in the angle parameter, around the origin (zero x and y coordinates) for this Matrix in the default (Prepend) order.

public void Rotate(float angle)
ParameterTypeDescription
angleSingleThe rotate angle.

See Also