VideoTransition beta
Interface of @v12-engine/client
ts
export interface VideoTransitionA video's coming in or going out: its kind (fade when left out), how long (half a second), along which curve (straight for a fade, inOutQuad for the others), from which side (or out by which: left), how small a zoom starts, how blurred a blur, and where an iris opens from
Members
at
ts
at?: {
x?: number;
y?: number;
};Where an iris opens from and closes on: shares of the video's box from its top left (its middle, 0.5 and 0.5)
blur
ts
blur?: number;For blur: the blur in pixels it starts from; 16 when left out
ease
ts
ease?: string;The curve it goes along: straight for a fade, inOutQuad for the others
from
ts
from?: VideoSide;The side it slides, wipes or flips from (or goes out by); left when left out
kind
ts
kind?: VideoTransitionKind;Which transition it is; fade when left out
scale
ts
scale?: number;For zoom: the size it starts from; 0 when left out
seconds
ts
seconds?: number;How long it takes; 0.5 when left out