ecspresso
    Preparing search index...

    Interface SpatialIndexPluginOptions<G>

    interface SpatialIndexPluginOptions<G extends string = "spatialIndex"> {
        cellSize?: number;
        phases?: readonly SpatialIndexPhase[];
        priority?: number;
        systemGroup?: G;
    }

    Type Parameters

    • G extends string = "spatialIndex"
    Index

    Properties

    cellSize?: number

    Cell size for the spatial hash grid (default: 64)

    phases?: readonly SpatialIndexPhase[]

    Phases to register rebuild systems in (default: ['fixedUpdate', 'postUpdate'])

    priority?: number

    Priority for rebuild systems (default: 2000, before collision)

    systemGroup?: G

    System group name (default: 'spatialIndex')