VoxelNoiseParams
Defined in: sdk/src/voxel/source.ts:31
Properties
Section titled “Properties”caveScale
Section titled “caveScale”caveScale:
number
Defined in: sdk/src/voxel/source.ts:41
How far apart the tunnels are, in world units.
caveWidth
Section titled “caveWidth”caveWidth:
number
Defined in: sdk/src/voxel/source.ts:39
How wide the tunnels are, in world units; 0 has none.
cellSize?
Section titled “cellSize?”
optionalcellSize?:number
Defined in: sdk/src/voxel/source.ts:47
The side of the volume’s cells. The corners a vertex reads reach about two cells in, so topsoil thinner than that shows soil through in a pattern. Defaults to 1.
hillHeight
Section titled “hillHeight”hillHeight:
number
Defined in: sdk/src/voxel/source.ts:36
How far the hills rise and fall from it, and how wide they are, in world units.
hillScale
Section titled “hillScale”hillScale:
number
Defined in: sdk/src/voxel/source.ts:37
oreAmount
Section titled “oreAmount”oreAmount:
number
Defined in: sdk/src/voxel/source.ts:45
The share of the rock that is ore, 0 to 1.
seed:
number
Defined in: sdk/src/voxel/source.ts:32
soilDepth
Section titled “soilDepth”soilDepth:
number
Defined in: sdk/src/voxel/source.ts:43
How deep the soil goes before rock, in world units.
surfaceHeight
Section titled “surfaceHeight”surfaceHeight:
number
Defined in: sdk/src/voxel/source.ts:34
Where the ground lies on average, relative to the volume’s entity.