Documentation - v19.16.0-dev
    Preparing search index...

    Options of the BoxTree: the scene's settings.scene.boxTree* values (see EngineSettings).

    interface BoxTreeOptions {
        growNodes: number;
        initialNodes: number;
        maxNodes: number;
        rebuildCostRatio: number;
        rebuildDelayMs: number;
    }
    Index

    Properties

    growNodes: number

    Nodes added when the pool is full.

    initialNodes: number

    Nodes allocated at first, maxNodes at most.

    maxNodes: number

    Largest node count: a part takes 2 nodes.

    rebuildCostRatio: number

    The tree is rebuilt when its cost ratio went over its last rebuild's times this.

    rebuildDelayMs: number

    Milliseconds without changes before the worker checks whether to rebuild the tree.