Skip to content

five-on-it / apps/client/src/renderer/level-culling / createLevelCulling

Function: createLevelCulling() ​

createLevelCulling(scene, root, moving?): LevelCulling

Defined in: apps/client/src/renderer/level-culling.ts:42

Culls the meshes under root (the level) by cells; moving are those that move (the light pieces), whose world matrices stay live.

Parameters ​

scene ​

Scene

root ​

TransformNode

moving? ​

ReadonlySet<TransformNode> = ...

Returns ​

LevelCulling