Documentation - v19.16.0-dev
    Preparing search index...
    NODE: {
        FLAGS: 10;
        LEAVES: 11;
        LEFT: 7;
        MAX_X: 3;
        MAX_Y: 4;
        MAX_Z: 5;
        MIN_X: 0;
        MIN_Y: 1;
        MIN_Z: 2;
        OBJID: 9;
        PARENT: 6;
        RIGHT: 8;
        STRIDE: 12;
    } = ...

    Node layout in the shared BoxTree buffer: [minX, minY, minZ, maxX, maxY, maxZ, parent, left, right, objectId, flags, leaves]. objectId is -1 on internal and free nodes; on a leaf, the id given to addItem (its own index by default). flags belong to the caller (e.g. visibility) on a leaf; an internal node holds the OR of its children's (e.g. the layers under it). leaves: the leaves under the node, 1 for a leaf (e.g. the parts a culled node drops).

    Type Declaration

    • ReadonlyFLAGS: 10
    • ReadonlyLEAVES: 11
    • ReadonlyLEFT: 7
    • ReadonlyMAX_X: 3
    • ReadonlyMAX_Y: 4
    • ReadonlyMAX_Z: 5
    • ReadonlyMIN_X: 0
    • ReadonlyMIN_Y: 1
    • ReadonlyMIN_Z: 2
    • ReadonlyOBJID: 9
    • ReadonlyPARENT: 6
    • ReadonlySTRIDE: 12

      Number of 32-bit values stored for each node.