Transform.rotate

Rotates @next @angle degrees in 2D - or in 3D-speak, around the z axis.

class Transform
rotate
(
float angle
)

Parameters

angle float

the rotation angle, in degrees (clockwise)

Return Value

Type: Transform

The new transform

Meta