voxolith
API reference@voxolith/gen-terrainTypes

TopOverride

A settlement's surface over the terrain's top voxel (a path, a yard), per column: an absolute palette slot, or 0 to keep the terrain's own. Either a function of the (coarse) column, or the same as data: a Uint8Array of slots indexed x + z width, which crosses to a worker (see topOverrideData).

type TopOverride = ((x: number, z: number) => number) | Uint8Array;

Defined in: index.ts:102