Optional ReadonlyindirectAccepted and ignored: the geometry's index is never touched (each record carries its entry).
Optional ReadonlylayoutA tree already built for this geometry (CpuPointsBvh.deserialize(bytes).layout): the build is skipped.
Optional ReadonlymaxAccepted, not honoured: past depth 40 the builder splits at the median, which keeps trees shallow.
Optional ReadonlymaxLargest leaf, in primitives: 1 to 8 (10, three-mesh-bvh's default, gives 8). Default 8.
Optional Readonlymaxthree-mesh-bvh's deprecated name for maxLeafSize.
Optional ReadonlyonCalled with 0 before the build and 1 after it.
Optional ReadonlyrangeNot supported: the tree holds every entry, and raycasts follow the draw range. Throws when set.
Optional ReadonlysetSets geometry.boundingBox from the tree when the geometry has none. Default true.
Optional ReadonlystrategyAccepted for three-mesh-bvh code (0, 1, 2); every value builds the same
tree, a centre split (three-mesh-bvh's default CENTER). Other values throw.
Optional Readonlytargetthree-mesh-bvh 0.9's name for maxLeafSize; wins over the other two.
Optional ReadonlyuseAccepted and ignored.
Optional ReadonlyverboseAccepted and ignored.
Options of
computeBoundsTree({ type: PointsBVH, ... })and the constructors: three-mesh-bvh's, mapped where they map.