Options for controlling the behavior of a Quadtree.

interface qTreeOptions {
    maxDepth?: number;
    maxChildren?: number;
}

Properties

maxDepth?: number

Maximum depth of the tree, after which all elements will be added to leaf-nodes.

7

maxChildren?: number

The maximum children that a node can contain, before it gets split into quads.

10