ThreePipe
    Preparing search index...

    Interface BVHPluginOptions

    interface BVHPluginOptions {
        lib?: ThreeMeshBVH;
        load?: () => Promise<ThreeMeshBVH>;
    }
    Index

    The three-mesh-bvh module, when the page already has it: import * as bvh from 'three-mesh-bvh', then {lib: bvh}.

    load?: () => Promise<ThreeMeshBVH>

    Loads three-mesh-bvh when the plugin is added. With a bundler: () => import('three-mesh-bvh'), the bundler puts it in its own chunk. Default: a native import('three-mesh-bvh') that bundlers do not see, which needs an import map entry for three-mesh-bvh (see BVHPlugin).