Skip to content

TerrainRegion

Defined in: sdk/src/terrain/provider.ts:20

Where and how finely a provider is asked to sample.

count: number

Defined in: sdk/src/terrain/provider.ts:31

Samples along each side: count * count of them, row by row from z0, each row from x0.


seed: number

Defined in: sdk/src/terrain/provider.ts:23


spacing: number

Defined in: sdk/src/terrain/provider.ts:29


version: number

Defined in: sdk/src/terrain/provider.ts:25

The generator version the world was made with.


world: string

Defined in: sdk/src/terrain/provider.ts:22

The world (a planet, a level) the ground belongs to, as the game names it.


x0: number

Defined in: sdk/src/terrain/provider.ts:27

The world position of the first sample, and the distance between samples along x and z.


z0: number

Defined in: sdk/src/terrain/provider.ts:28