@pmndrs/bvh
    Preparing search index...

    Interface SceneInstanceDescriptor

    interface SceneInstanceDescriptor {
        contributesToGi?: boolean;
        instanceIndex?: number;
        mask?: number;
        material?: number;
        mesh: number;
        objectToWorld: Mat4;
        static?: boolean;
        visible?: boolean;
    }
    Index
    contributesToGi?: boolean
    instanceIndex?: number

    Returned in BvhHit.instance. Default: the instance's handle.

    mask?: number

    0-255; default 0xff.

    material?: number

    Per-instance material index (0-65534), written as material + 1 in the record's flags bits 16-31.

    mesh: number
    objectToWorld: Mat4
    static?: boolean

    Never moves: merged with mergeStaticInstances if it is added before the first update.

    visible?: boolean