Transform2

Transform2

Function. Applies a 2D affine transformation to a point.

The transformation consists of scale, rotation, and translation, applied in that order.

Properties & inputs:

  • Translation (input | property): Translation offset (vec2).
  • Rotation (input | property): Rotation angle in degrees.
  • Scale (input | property): Scale factor (vec2).

Output:

  • Transformed 2D point.