BVHParams
Defined in: core/feature/ComputeBVH.ts:7
Parameters for configuring the BVH (Bounding Volume Hierarchy).
Properties
Section titled “Properties”accurateCulling?
Section titled “accurateCulling?”
optional
accurateCulling:boolean
Defined in: core/feature/ComputeBVH.ts:19
Enables accurate frustum culling by checking intersections without applying margin to the bounding box.
Default
Section titled “Default”true
margin?
Section titled “margin?”
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.
Default
Section titled “Default”0