CinematicPicture beta
Interface of @v12-engine/client
export interface CinematicPictureA 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
aberration?: number;Amount of chromatic aberration, the colour split at the edges; 0 when left out
focus
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
grain?: number;Amount of film grain, 0 for none; 0 when left out
look
look?: MapPictureLook;The look laid over the picture (MapPictureLook); none for the picture as it is