Caches and maintains axis-aligned bounding boxes (AABBs) for SceneMesh and SceneObject instances in a Scene, using lazy evaluation and dirty flags.

Constructors

Properties

scene: Scene

The Scene for which this index computes AABBs.

Methods

  • Gets the combined AABB of the given SceneObject IDs. Only includes objects that are currently registered and valid.

    Parameters

    • objectIds: string[]

      The list of SceneObject IDs.

    Returns AABB3Float

    Combined AABB, or null if none found.