Skip to content

BVHParams

Defined in: core/feature/ComputeBVH.ts:7

Parameters for configuring the BVH (Bounding Volume Hierarchy).

optional accurateCulling: boolean

Defined in: core/feature/ComputeBVH.ts:19

Enables accurate frustum culling by checking intersections without applying margin to the bounding box.

true

optional margin: number

Defined in: core/feature/ComputeBVH.ts:14

Margin applied to accommodate animated or moving objects. Improves BVH update performance but slows down frustum culling and raycasting. For static objects, set to 0 to optimize culling and raycasting efficiency.

0