Skip to content

PrefabPose beta ​

Interface of @v12-engine/editor

ts
export interface PrefabPose

Where an instance stands: its middle, how it is turned (radians, the way facings turn) and how big

Members ​

at ​

ts
at: Vec2;

The middle of the instance, in cells

scale ​

ts
scale: number;

How big the instance is, 1 being as the prefab has it

turn ​

ts
turn: number;

How the instance is turned, in radians