Skip to content

PropClipOptions beta ​

Interface of @v12-engine/client

ts
export interface PropClipOptions extends Omit<ClipOptions, 'marks' | 'loop'>

What a prop's clip is played with (PlacedProp.play): ClipOptions, its marks given as a share of the clip or 'hit' (where the clip's blow lands: its hit mark, ClipDef.marks)

Members ​

marks ​

ts
marks?: {
        at: number | 'hit';
        run: () => void;
    }[];

Moments of the clip and what happens at each (a share of its length, or 'hit')