five-on-it / apps/client/src/renderer/scene / drawnPieces
Function: drawnPieces()
drawnPieces(
scene):string[]
Defined in: apps/client/src/renderer/scene.ts:376
The level's pieces the last frame drew: the key of every level mesh (civic/bld-hospital-a) one of whose placements was active, each once, sorted: the pieces baked into every batch drawn (level-batches.ts, a cell's), and the placements left instances of a source mesh named mesh:<key> (#mirror after it for a mirrored use); what the camera did not see was culled before, so the active meshes are what is drawn. Read for the tests, never in a frame.
Parameters
scene
Scene
Returns
string[]