Block mask buffer with voxelization results.
Grid dimension X in voxels.
Grid dimension Y in voxels.
Grid dimension Z in voxels.
Seed voxel X coordinate.
Seed voxel Y coordinate.
Seed voxel Z coordinate.
Object with ccSet, visited grid, and the resolved seed, or null if no occupied voxel found.
Find the connected component of occupied voxels reachable from a seed position via 6-connected voxel-level flood fill. Returns the set of block linear indices that contain at least one reachable voxel, the visited grid, and the resolved seed position.
If the seed voxel is not occupied, finds the nearest occupied voxel first.