Skip to content

MapGroundMist beta ​

Interface of @v12-engine/client

ts
export interface MapGroundMist

Mist that lies on the ground: thickest at base, thinning to nothing at top (heights of the map, as the ground's), everywhere the ground is low enough. Seen through as far as it is thin: a valley full of it, hills above it

Members ​

base ​

ts
base: number;

The height where the mist is thickest, in the map's ground heights

color ​

ts
color?: Rgb;

The mist's (MapFog.color), or the sky's, when left out

density ​

ts
density: number;

How thick, 0 to 1: how much of what is behind a cell of it, at its thickest, is hidden

top ​

ts
top: number;

The height where the mist has thinned out to nothing