@pmndrs/bvh
    Preparing search index...

    Interface SerializeThreeMeshBvhOptions

    interface SerializeThreeMeshBvhOptions {
        cloneBuffers?: boolean;
        index?:
            | Uint32Array<ArrayBufferLike>
            | Uint16Array<ArrayBufferLike>
            | Int32Array<ArrayBufferLike>
            | null;
    }
    Index
    cloneBuffers?: boolean

    As three-mesh-bvh's: copy index (default true) or hand over the same array. The roots and indirectBuffer are always new.

    index?:
        | Uint32Array<ArrayBufferLike>
        | Uint16Array<ArrayBufferLike>
        | Int32Array<ArrayBufferLike>
        | null

    The geometry's index, copied into index (three-mesh-bvh's deserialize sets it on the geometry with setIndex). Default null, as for a geometry without one.