FineTerrainInit
Everything a FineTerrain is rebuilt from, as structured-clonable data: the coarse terrain, the factor and the options, with the top override as data. From fineTerrainInit, rebuilt by fineTerrainFrom. Transfer terrain.heights.buffer and options.top.buffer to skip the copies; the init holds copies...
Defined in: init.ts:15
Everything a FineTerrain is rebuilt from, as structured-clonable data: the coarse
terrain, the factor and the options, with the top override as data. From
fineTerrainInit, rebuilt by fineTerrainFrom. Transfer terrain.heights.buffer
and options.top.buffer to skip the copies; the init holds copies of its own.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
k | number | Fine voxels per coarse voxel. | init.ts:19 |
options | Omit<FineTerrainOptions, "top"> & object | The refinement's options, top as a palette slot per coarse column (x + z * width). | init.ts:21 |
terrain | TerrainInit | The coarse terrain: params, seed and levelled heights. | init.ts:17 |