Skip to content

five-on-it / apps/tools/src/block-library / blockGeometry

Function: blockGeometry() ​

blockGeometry(kind): MeshData

Defined in: apps/tools/src/block-library.ts:135

The unit geometry of each kind, in the editor's frame.

Parameters ​

kind ​

"terrain" | "structure" | "building" | "water" | "door" | "npc" | "garage" | "road" | "spawn" | "ground" | "ramp" | "stairs" | "nail-strip" | "dummy" | "container" | "camera" | "vehicle-spawner" | "shop" | "district" | "ladder" | "lift"

Returns ​

MeshData