Skip to main content

getChunksByDistance

Returns all chunks for an app within a cubic (Chebyshev-distance) radius of a center chunk, paginated. The cube spans center +/- maxDistance chunks on each axis. Each chunk's voxelStates, when selected, include its recorded voxel edits as in getChunk (selecting them costs one more read). Use this for bulk region loads; use getChunk for a single chunk. Requires a valid bearer token; app-scoped tokens are limited to their own app. Read-only.

getChunksByDistance(
input: GetChunksByDistanceInput!
): ChunksByDistanceResponse!

Arguments​

getChunksByDistance.input ● GetChunksByDistanceInput! non-null input​

Type​

ChunksByDistanceResponse object​

Paginated result of getChunksByDistance: the chunks found within the search cube plus an echo of the pagination applied.