Skip to content

five-on-it / apps/client/src/ui/minimap-data / Footprint

Interface: Footprint ​

Defined in: apps/client/src/ui/minimap-data.ts:23

A footprint on the ground (m), turned by its yaw: the bounds of a placement's mesh, scaled and turned like it.

Properties ​

kind ​

kind: "structure" | "building" | "prop"

Defined in: apps/client/src/ui/minimap-data.ts:35

What the piece is, for its colour (terrain is drawn by height instead).


sx ​

sx: number

Defined in: apps/client/src/ui/minimap-data.ts:29

Size along the piece's own x.


sz ​

sz: number

Defined in: apps/client/src/ui/minimap-data.ts:31

Size along the piece's own z.


x ​

x: number

Defined in: apps/client/src/ui/minimap-data.ts:25

Centre x.


yaw ​

yaw: number

Defined in: apps/client/src/ui/minimap-data.ts:33

Heading (rad, 0 faces +z); 0 for an axis-aligned one.


z ​

z: number

Defined in: apps/client/src/ui/minimap-data.ts:27

Centre z.