@pmndrs/bvh
    Preparing search index...

    Interface BabylonBvhPickerOptions

    interface BabylonBvhPickerOptions {
        builder?: TinyBvhBuilder;
        filter?: (mesh: AbstractMesh) => boolean;
        material?: (mesh: AbstractMesh) => number | undefined;
        static?: boolean | ((mesh: AbstractMesh) => boolean);
    }

    Hierarchy (View Summary)

    Index
    builder?: TinyBvhBuilder

    The tinybvh builder. Default: BabylonBvhPicker.create loads one; the constructor needs it.

    filter?: (mesh: AbstractMesh) => boolean

    Which meshes to include. Default: every mesh with triangles.

    material?: (mesh: AbstractMesh) => number | undefined

    The material index (0-65534) of a mesh's triangles, reported as BvhHit.material. Default: none.

    static?: boolean | ((mesh: AbstractMesh) => boolean)

    Instances that never move (TraceSceneInstance.static, for mergeStaticInstances). true for all, or a function of the mesh. Default false.