Documentation
    Preparing search index...

    Interface SpatialHashOptions

    Options for SpatialHash.

    interface SpatialHashOptions {
        capacityHint?: number;
        cellSize: number;
    }
    Index
    capacityHint?: number

    Hint for the initial number of entries. Optional; defaults to 0.

    cellSize: number

    Cubic cell edge length in world units. Must be finite and strictly positive.