ReadonlychunksSpatial chunks whose voxel data shares one buffer when the grid fits the packing limit.
ReadonlyemptyNumber of leaf voxels that do not intersect scene geometry.
ReadonlygranularitiesVoxel sizes by resolution level, ordered from the largest root size to the finest size.
ReadonlygridWorld-space bounds covered by the complete set of spatial chunks.
ReadonlyoriginWorld-space minimum corner used to convert integer voxel coordinates into positions.
ReadonlypackedShared voxel storage sent directly to flood-fill workers without another copy.
ReadonlysolidNumber of leaf voxels intersecting scene geometry.
ReadonlyversionVersion of the serialized voxel-grid contract represented by this instance.
ReadonlyvoxelTotal number of leaf voxels across every chunk.
Returns chunk views and metadata without copying voxel buffers.
Applies connected-component membership to the grid's non-solid voxel states.
Removes connected-component membership while preserving solid occupancy.
Runtime representation of a serialized voxel grid: exposes its spatial chunks, tracks the connected-component classification currently applied to it, and can be resent to workers via its packed snapshot.