five-on-it / apps/client/src/renderer/scene / buildLevel
Function: buildLevel()
buildLevel(
scene,level):LevelView
Defined in: apps/client/src/renderer/scene.ts:238
Builds the level's static geometry under one node: the ground and its grid, the standing placements baked into batches (level-batches.ts; a light piece keeps a hidden instance for when it comes loose), the street lamps and lava-painted pieces as instances of their meshes (a mesh without a colour group is a collider nobody sees and gets nothing here; a roof that fades, a mesh of its own), the roads (roads.ts), the water (water-view.ts) and the nail strips.
Parameters
scene
Scene