Skip to content

Interface: TerrainLevel ​

Single band of a terrain palette — threshold + world-height + material appearance. A palette is an ordered array of TerrainLevel; the band for a tile is resolved by elevation < threshold.

Properties ​

threshold ​

ts
threshold: number;

height ​

ts
height: number;

color ​

ts
color: Color;

emissive? ​

ts
optional emissive?: Color;

emissiveIntensity? ​

ts
optional emissiveIntensity?: number;

metalness? ​

ts
optional metalness?: number;

roughness? ​

ts
optional roughness?: number;

Distribué sous la licence indiquée dans le dépôt.