Interface TransformOptions

Transform component configuration

const transform = new Transform({
position: new Vector2(100, 100),
scale: new Vector2(2, 2),
rotation: Math.PI / 4
});
interface TransformOptions {
    position: Vector2;
    rotation: number;
    scale: Vector2;
}

Properties

position: Vector2
rotation: number
scale: Vector2