Interface

ActiveLayerOptions

Options for selecting active timeline layers at a timeline time. Use this when integrations need named layers such as `visuals`, `audio`, `subtitles`, or `effects` instead of one flat active-clip list. The same active clip can match more than one layer.

Signature

Type Definition
Interface ActiveLayerOptions

Type parameters

NameConstraintDefaultDescription
LayerNamestringstringNo type parameter summary yet.
TrackKindNonestringNo type parameter summary yet.

Properties

NameSignatureDescription
layerslayers: Record<LayerName, ActiveLayerSelector<TrackKind>>Named layer selectors, such as `{ visuals, audio, subtitles, effects }`.
time?time?: RationalTimeTimeline time to inspect. Defaults to the current playhead.