Skip to content

GroundAdjust beta ​

Interface of @v12-engine/client

ts
export interface GroundAdjust

How a ground's picture is changed as it is drawn (TileLook.adjust, MapTile.adjust): the file stays as it was. Each is nothing when left out

Members ​

brightness ​

ts
brightness?: number;

-1 (black) to 1 (twice as bright), 0 as it is

contrast ​

ts
contrast?: number;

-1 (flat grey) to 1 (twice the contrast), 0 as it is

saturation ​

ts
saturation?: number;

-1 (grey) to 1 (twice as colourful), 0 as it is

tint ​

ts
tint?: Readonly<Rgb>;

A colour it is multiplied by: white leaves it as it is