Skip to content

MapPictureZone beta ​

Interface of @v12-engine/client

ts
export interface MapPictureZone

A part of the map with a look of its own (MapEnvironment.pictureZones): a swamp greener and murkier, a cursed wood darker and cold, a lava field warm and blooming. Its picture over the map's, and its mist by distance and a lean of the light if it says, blended in as what the camera looks at goes into it: none at its edge, all of it blend cells in. Where the camera looks into none, nothing of any is drawn, nor worked out

Members ​

blend ​

ts
blend?: number;

How far in from its edge its look is all there, in cells: 8 when left out (PICTURE_ZONE_BLEND), 0 for at once

fog ​

ts
fog?: Partial<MapFog>;

Its mist by distance (MapFog), over the map's field by field: grown from none where the map has none

id ​

ts
id: number;

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

light ​

ts
light?: {
        tint: Rgb;
        amount?: number;
    };

The light (the sun's, and from all around) leaning to a colour in it: the colour, and how much (0..1; 1 when left out)

look ​

ts
look?: MapPicture;

Its picture (MapPicture), over the map's: what it leaves out is as the map has it. By day, and at night if it says

name ​

ts
name?: string;

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

shape ​

ts
shape: AreaRef;

The place it covers: a shape of its own or a region of the map by name