PartTransition interface

A transition for a video composition part.

A transition interpolates the source_rect, dest_rect, and opacity properties over the specified duration according to the specified easing function.

As a special case, if a transition is specified and the input pin of the part changes, an opacity fade from one to the other will occur.

Signature:

export interface PartTransition

Properties

Property Type Description

durationMs

number

Duration for the transition

easing?

SimpleEasing

(Optional) Easing function to apply to the transition. If not specified will be linear.