@pmndrs/bvh
    Preparing search index...

    Interface CpuSceneHit

    One hit of CpuSceneBvh.raycast.

    interface CpuSceneHit {
        frontFace: boolean;
        instance: number;
        t: number;
        triangle: number;
        u: number;
        v: number;
    }
    Index
    frontFace: boolean

    The ray hit the authored front side (object-space winding, mirrored instances included).

    instance: number

    The instance's instanceIndex.

    t: number

    Distance along the ray (world units when the direction is unit length).

    triangle: number

    The original triangle in the instance's mesh.

    u: number

    Barycentric weights of corners 1 and 2.

    v: number