Engine API Reference - v2.24.0-beta.29
    Preparing search index...

    Interface VoxelOccupancyMetadata

    interface VoxelOccupancyMetadata {
        gridBounds: { max: number[]; min: number[] };
        leafDataCount: number;
        leafSize: number;
        nodeCount: number;
        treeDepth: number;
        version: string;
        voxelResolution: number;
    }
    Index
    gridBounds: { max: number[]; min: number[] }

    The bounds of the voxel grid, in the space of the voxels.

    leafDataCount: number

    The number of 32 bit words of the voxel masks of the blocks.

    leafSize: number

    The number of voxels along each axis of a block of the octree.

    nodeCount: number

    The number of nodes of the octree, a 32 bit word each.

    treeDepth: number

    The depth of the octree.

    version: string

    The version of the voxel format.

    voxelResolution: number

    The size of a voxel, in world units.