Owns the culling worker and the bounds mirror for one Scene.

There is one service per Scene (see getSceneCuller), shared by every ViewCuller: the bounds mirror — potentially millions of spheres — is held once, while the worker keeps cull state separately per view. The service keeps the mirror in step with the Scene by subscribing to the same mutation events the SceneCollisionIndex uses, and reads bounds back from that index on flush.

Constructors

Properties

scene: Scene

The Scene this service culls.

Methods

  • Posts a fresh camera for a view, triggering a cull pass. Any pending bounds changes are flushed first so the pass sees current geometry.

    Parameters

    • message: ViewChangedMessage

    Returns void