Skip to content

ShotOptions beta ​

Interface of @v12-engine/client

ts
export interface ShotOptions

How a shot is made (cut.shot): how long the move takes (at once when left out), along which curve (Ease, or the name of one the game knows: 'inOutCubic'), and the line it takes through several poses (CameraPath: straight from each to the next, or a smooth curve through them all, which is the way when left out)

Members ​

ease ​

ts
ease?: Ease | string;

The curve of the move, an Ease or a game's ease by name

path ​

ts
path?: CameraPath;

The line through several poses: straight from each to the next, or a smooth curve through them all, which is the way when left out

seconds ​

ts
seconds?: number;

Seconds the move takes; at once when left out

transition ​

ts
transition?: string | (TransitionOptions & {
        id: string;
    });

How the eye sees the cut to it: a transition by id ('dissolve'), or one with how it is played (B3)