@pmndrs/bvh
    Preparing search index...

    Interface SdfOptions

    What a field holds.

    interface SdfOptions {
        mask?: number;
        maxDistance?: number;
        sign?: SdfSign;
    }

    Hierarchy (View Summary)

    Index
    mask?: number

    Only instances whose mask shares a bit with this count. Default all. Ignored by a generator made with rayMasks: false.

    maxDistance?: number

    Distances are clamped to this (and to -this inside): the closest-point walk skips boxes farther away, so a narrow band is cheaper. Default: none (CLOSEST_POINT_MAX_DISTANCE, 1e18).

    sign?: SdfSign

    Default 'parity'. 'unsigned' skips the inside test (an open surface's distance, a quarter of the work).