Skip to content

VoxelNoiseParams

Defined in: sdk/src/voxel/source.ts:31

caveScale: number

Defined in: sdk/src/voxel/source.ts:41

How far apart the tunnels are, in world units.


caveWidth: number

Defined in: sdk/src/voxel/source.ts:39

How wide the tunnels are, in world units; 0 has none.


optional cellSize?: 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: 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: number

Defined in: sdk/src/voxel/source.ts:37


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: number

Defined in: sdk/src/voxel/source.ts:43

How deep the soil goes before rock, in world units.


surfaceHeight: number

Defined in: sdk/src/voxel/source.ts:34

Where the ground lies on average, relative to the volume’s entity.