heightVoxelSource
heightVoxelSource(
heightAt,material?):VoxelSource
Defined in: sdk/src/voxel/source.ts:86
A body under a height field: solid below heightAt, so a Terrain’s own ground, or any other, can be dug into as a volume. The answer must be
the same for the same place, and null where it knows no height is air.
Parameters
Section titled “Parameters”heightAt
Section titled “heightAt”(x, z) => number | null
material?
Section titled “material?”(depth, sample) => void