PrefabInside beta
Interface of @v12-engine/engine
ts
export interface PrefabInsideA prefab inside a prefab: spawned with it, its middle where it says from the outer one's, turned and sized with it *
Members
facing
ts
facing?: number;Radians, the way facings turn: on top of the outer prefab's turn
prefab
ts
prefab: string;The prefab's id
scale
ts
scale?: number;Size of the inner prefab as a multiple, on top of the outer prefab's scale
x
ts
x: number;East-west position of the inner prefab's middle, from the outer one's middle, in cells
z
ts
z: number;North-south position of the inner prefab's middle, from the outer one's middle, in cells