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

    Complete serialized voxel grid: SerializedVoxelGridMetadata plus its spatial chunks.

    interface SerializedVoxelGrid {
        chunks: SerializedVoxelChunk[];
        emptyVoxelCount: number;
        granularities: Float32Array;
        gridBounds: Float64Array;
        origin: Float64Array;
        solidVoxelCount: number;
        version: 1;
        voxelCount: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Spatial chunks kept as separate transferable buffers, one per root voxel.

    emptyVoxelCount: number

    Number of leaf voxels without a scene geometry intersection.

    granularities: Float32Array

    World-space voxel size for every resolution level, ordered from largest to smallest.

    gridBounds: Float64Array

    World-space AABB covered by all root chunks: [minX, minY, minZ, maxX, maxY, maxZ].

    origin: Float64Array

    World-space minimum corner shared by every integer voxel coordinate: [x, y, z].

    solidVoxelCount: number

    Number of leaf voxels intersecting scene geometry.

    version: 1

    Serialized format version.

    voxelCount: number

    Total leaf voxel count across all chunks.