@pmndrs/bvh
    Preparing search index...

    Function computeBoundsTree

    • BufferGeometry.prototype.computeBoundsTree: builds this.boundsTree, a BvhBoundsTree (the core CpuMeshBvh with three's types). Takes three-mesh-bvh's options (BvhBoundsTreeOptions); with type, builds that class instead (PointsBVH for Points, LineSegmentsBVH, LineLoopBVH or LineBVH for the line objects) and returns it. The geometry's boundsTree is typed as a BvhBoundsTree; for those it holds the other class.

      Type Parameters

      • T

      Parameters

      Returns T

    • BufferGeometry.prototype.computeBoundsTree: builds this.boundsTree, a BvhBoundsTree (the core CpuMeshBvh with three's types). Takes three-mesh-bvh's options (BvhBoundsTreeOptions); with type, builds that class instead (PointsBVH for Points, LineSegmentsBVH, LineLoopBVH or LineBVH for the line objects) and returns it. The geometry's boundsTree is typed as a BvhBoundsTree; for those it holds the other class.

      Parameters

      Returns BvhBoundsTree