Constructors

Properties

localPosition: Vector2 = ...

The real position in the simulated world. It has the same value as position property if there is no parent

localRotation: number = 0

The real rotation in the simulated world. It has the same value as rotation property if there is no parent

localScale: Vector2 = ...

The real scale in the simulated world. It has the same value as scale property if there is no parent

position: Vector2 = ...

Position relative to the zero point of the simulated world, or relative to the parent if it has one

rotation: number = 0

Rotation expressed in radians

scale: Vector2 = ...

Scale on x-axis and y-axis

Accessors