Skip to content

CinematicPicture beta ​

Interface of @v12-engine/client

ts
export interface CinematicPicture

A cinematic's say over the picture (cinematic plan B5): a look laid over everything else (the game's, the map's, adjust), and what only a cinematic asks: depth of field (the picture sharp at a distance from the camera, or on a unit, blurred before and behind, aperture the f-stop: smaller, blurrier), film grain, chromatic aberration (the colours split at the edges, as a cheap lens does). Each is turned on in the pipeline only while it is asked

Members ​

aberration ​

ts
aberration?: number;

Amount of chromatic aberration, the colour split at the edges; 0 when left out

focus ​

ts
focus?: {
        at?: {
            entity: number;
        } | {
            x: number;
            z: number;
        };
        distance?: number;
        aperture?: number;
    } | null;

Where the lens focuses: on an entity (by id) or a point of the ground, at a distance from the camera, with an aperture f-stop. Null turns depth of field off

grain ​

ts
grain?: number;

Amount of film grain, 0 for none; 0 when left out

look ​

ts
look?: MapPictureLook;

The look laid over the picture (MapPictureLook); none for the picture as it is