MotionScript

@motion-script/core


@motion-script/core / VideoFillOptions

Interface: VideoFillOptions

Defined in: attributes/shape/fill/chain.ts:29

Author-facing options for a FillChain.video layer.

Extends

Properties

anchor?

optional anchor?: Anchor

Defined in: attributes/shape/fill/chain.ts:23

The point held fixed as zoom scales; also the alignment when it doesn't cover.

Inherited from

MediaPlacementOptions.anchor


blend?

optional blend?: "color" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "luminosity" | "normal"

Defined in: attributes/shape/fill/chain.ts:55

Inherited from

FillOptions.blend


crop?

optional crop?: Insets

Defined in: attributes/shape/fill/chain.ts:19

Window onto the source, in fractions of its own size, applied before fit.

Inherited from

MediaPlacementOptions.crop


duration?

optional duration?: number

Defined in: attributes/shape/fill/chain.ts:45


filters?

optional filters?: VideoFilter

Defined in: attributes/shape/fill/chain.ts:30


fit?

optional fit?: ImageFit

Defined in: attributes/shape/fill/chain.ts:17

How the (cropped) source is scaled into the node's bounds. Default 'fill'.

Inherited from

MediaPlacementOptions.fit


loop?

optional loop?: "reverse" | "none" | "forward"

Defined in: attributes/shape/fill/chain.ts:44


matrix?

optional matrix?: ImageMatrix

Defined in: attributes/shape/fill/chain.ts:25

Raw source→shape matrix; bypasses crop/fit/zoom/anchor and the bounds.

Inherited from

MediaPlacementOptions.matrix


opacity?

optional opacity?: number

Defined in: attributes/shape/fill/chain.ts:54

Inherited from

FillOptions.opacity


playing?

optional playing?: boolean

Defined in: attributes/shape/fill/chain.ts:38

Whether playback advances with the node's clock. Defaults to true.


playStart?

optional playStart?: number

Defined in: attributes/shape/fill/chain.ts:42

Seconds after the painting node appears before playback begins. Default 0.


space?

optional space?: FillSpace

Defined in: attributes/shape/fill/chain.ts:56

Inherited from

FillOptions.space


speed?

optional speed?: number

Defined in: attributes/shape/fill/chain.ts:43


timestamp?

optional timestamp?: number | null

Defined in: attributes/shape/fill/chain.ts:36

Explicit source time to paint, in seconds. Omit it and the clip plays by itself, timed from the moment the node painting it appeared — set it only to drive the playhead yourself (null hands the playhead back).


trimEnd?

optional trimEnd?: number

Defined in: attributes/shape/fill/chain.ts:40


trimStart?

optional trimStart?: number

Defined in: attributes/shape/fill/chain.ts:39


zoom?

optional zoom?: number

Defined in: attributes/shape/fill/chain.ts:21

Magnification on top of the fitted scale. 1 is the fitted size.

Inherited from

MediaPlacementOptions.zoom