voxolith
API reference@voxolith/gen-terrainInterfaces

TerrainBuild

Options of generateTerrain.

Defined in: index.ts:105

Properties

PropertyTypeDescriptionDefined in
heights?Int16Array<ArrayBufferLike>Precomputed ground heights (width * depth, x + z * width), used as they are instead of sampling the height function: typically a TerrainInit's levelled heights, so a worker rebuilds the same Terrain without regenerating it. Adopted, not copied: the terrain's heights is this array.index.ts:112

On this page