Skip to content

Key beta ​

Interface of @v12-engine/client

ts
export interface Key

A key of a lane: the lane's value at a moment (at, in seconds from the start of the cinematic), reached along a curve named by ease (ease of viewTimers: linear, inOutQuad, outBack...; straight when left out). What value is depends on the lane: a pose or a view's name for the camera, a colour for a tint

Members ​

at ​

ts
at: number;

The moment of the key, in seconds from the start of the cinematic

ease ​

ts
ease?: string;

The name of the curve the value is reached along from the key before; straight when left out

value ​

ts
value: unknown;

The lane's value at that moment; its shape depends on the lane