Skip to content

Clip ​

Interface of @v12-engine/client

ts
export interface Clip

A clip of a lane: something that starts at at and lasts for seconds (as long as it takes when left out: a line for as long as it is read, a clip of a unit until its animation ends). The rest of its fields are the lane's: a line has a speaker and text, a unit's clip a unit and clip. when is a condition it is played under (A5: on a param, on a ref being alive); ease how it comes in, where the lane eases

Members ​

(indexer) ​

ts
[field: string]: unknown;

The rest of a clip's fields, which belong to its lane

at ​

ts
at: number;

The moment the clip starts, in seconds from the start of the cinematic

ease ​

ts
ease?: string;

The name of the curve it comes in along, where the lane eases

for ​

ts
for?: number;

Seconds the clip lasts; as long as what it plays takes when left out

id ​

ts
id?: string;

Its name for code (cut.running(id), the hooks item:<id>:start and item:<id>:end), and for pins

when ​

ts
when?: Condition;

A condition it is played under; always played when left out

whole ​

ts
whole?: boolean;

It lasts as long as what it plays (a sound, a video: its lane's LaneRun.ended), not for: over as that ends. The editor keeps for at the file's length, which the cinematic's own length goes by