ProceduralParams
Defined in: sdk/src/terrain/heightfield.ts:63
What proceduralHeightfield is made from.
Properties
Section titled “Properties”frequency
Section titled “frequency”frequency:
number
Defined in: sdk/src/terrain/heightfield.ts:68
How many times the biggest hill repeats across the terrain.
octaves
Section titled “octaves”octaves:
number
Defined in: sdk/src/terrain/heightfield.ts:69
persistence
Section titled “persistence”persistence:
number
Defined in: sdk/src/terrain/heightfield.ts:71
What each octave keeps of the height of the one before it: lower is smoother.
resolution
Section titled “resolution”resolution:
number
Defined in: sdk/src/terrain/heightfield.ts:65
Samples along each side.
ridged
Section titled “ridged”ridged:
number
Defined in: sdk/src/terrain/heightfield.ts:73
0 is rolling hills; 1 is sharp ridges, the way eroded mountains look.
seed:
number
Defined in: sdk/src/terrain/heightfield.ts:66
optionalwarp?:number
Defined in: sdk/src/terrain/heightfield.ts:75
How far the noise is pushed about by noise of its own before it is read, 0 to 1: bent ridges and winding valleys instead of round hills.