Interface

TimelineSnapProviderContext

Context passed to runtime snap target providers.

Signature

Type Definition
Interface TimelineSnapProviderContext

Properties

NameSignatureDescription
ignoreClipId?ignoreClipId?: stringExclude a clip id from snap targets so a dragged clip does not snap to itself.
ignoreInPoint?ignoreInPoint?: booleanExclude the current in-point boundary from snap targets.
ignoreOutPoint?ignoreOutPoint?: booleanExclude the current out-point boundary from snap targets.
operation?operation?: TimelineSnapInteractionOperationEditing operation that consumes the prepared snap targets.
statestate: TimelineStateCurrent mutable timeline state owned by the engine.
thresholdSecondsthresholdSeconds: numberSnap threshold converted to seconds for the current zoom scale.
zoomScalezoomScale: numberCurrent zoom scale in pixels per second.