TerrainSamples
Defined in: sdk/src/terrain/provider.ts:35
What a provider answers for a region: heights in world units and, if it paints the ground, four layer weights a sample.
Properties
Section titled “Properties”heights
Section titled “heights”heights:
Float32Array
Defined in: sdk/src/terrain/provider.ts:36
paint?
Section titled “paint?”
optionalpaint?:Float32Array<ArrayBufferLike>
Defined in: sdk/src/terrain/provider.ts:38
Grass, dirt, snow, rock, 0 to 1, four a sample; absent leaves the terrain to paint by height and slope.