five-on-it / apps/tools/src/kits / addKitSources
Function: addKitSources()
addKitSources(
scene,kits):Map<string,Mesh>
Defined in: apps/tools/src/kits.ts:225
Installs kits in a scene as source meshes under the _kits group (parked 60 m below the ground, one row per kit), each in the editor's frame with metadata.foi and a material per colour; returns the sources by kit/piece.
Parameters
scene
Scene
kits
readonly Kit[]
Returns
Map<string, Mesh>