@pmndrs/bvh
    Preparing search index...

    Interface SharedEdgeRayOptions

    interface SharedEdgeRayOptions {
        cells?: number;
        half?: number;
        objectToWorld?: readonly number[];
        seed?: number;
        verticalEvery?: number;
    }
    Index
    cells?: number

    Cells per side of the quad, as tessellatedQuad(cells, half). Default 8.

    half?: number

    Half the quad's width, as tessellatedQuad(cells, half). Default 2.

    objectToWorld?: readonly number[]

    The quad instance's object-to-world transform, column-major 4x4 (as TraceSceneInstance.objectToWorld). Rays are aimed in object space and moved to world space with it. Default identity.

    seed?: number

    Seed for createRandom. Default 555.

    verticalEvery?: number

    One ray in this many (ray 0, verticalEvery, ...) is an exact vertical ray down a grid line (category 0); 0 for none. Default 10 without objectToWorld, 0 with one: through a transform the ray is no longer exactly along the line in the space the walk tests it in.