Skip to content

MapMistArea beta ​

Interface of @v12-engine/client

ts
export interface MapMistArea

Mist in a place: a shape of its own or a region of the map by name, between two heights, its own colour and thickness, soft at its edge, drifting

Members ​

base ​

ts
base?: number;

The heights it lies between: the ground's level (0) up to 3 when left out

color ​

ts
color?: Rgb;

The ground mist's, or the mist's, or the sky's, when left out

density ​

ts
density: number;

How thick, 0 to 1 (see MapGroundMist.density)

drift ​

ts
drift?: {
        x: number;
        z: number;
    };

Drifts in wisps this way, in cells a second: still, and even, when left out

id ​

ts
id: number;

Its id among the map's of its kind: what the editor finds it by, kept as it is moved and as others come and go

name ​

ts
name?: string;

What the editor and its search call it, where it is given a name

shape ​

ts
shape: AreaRef;

The place the mist lies in: a shape of its own or a region of the map by name

softness ​

ts
softness?: number;

How far its edge fades, in cells: a cell when left out. 0 for a sharp edge

top ​

ts
top?: number;

The upper height of the mist; 3 when left out