Skip to content

PictureValue beta ​

Interface of @v12-engine/client

ts
export interface PictureValue

The picture's look and lens at a key: each field is eased to, and one left out stays as the game and the map have it

Members ​

aberration ​

ts
aberration?: number;

How strong the chromatic aberration is, the colour fringes at the edges

aperture ​

ts
aperture?: number;

The lens aperture, how shallow the depth of field is

bloom ​

ts
bloom?: number;

How strongly bright parts glow

contrast ​

ts
contrast?: number;

The picture's contrast

exposure ​

ts
exposure?: number;

The picture's exposure

focus ​

ts
focus?: string | number | null;

What the depth of field is focused on: a unit by name or ref (found each frame), a distance as a number, or null for none

grain ​

ts
grain?: number;

How strong the film grain is

saturation ​

ts
saturation?: number;

The picture's colour saturation

sharpen ​

ts
sharpen?: number;

How strongly the picture is sharpened

tint ​

ts
tint?: [number, number, number];

The tint's colour as red, green and blue, each 0..1

tintAmount ​

ts
tintAmount?: number;

How much of the tint is mixed in, 0..1

vignette ​

ts
vignette?: number;

How strongly the corners are darkened