MotionScript

@motion-script/core


@motion-script/core / VignetteOptions

Interface: VignetteOptions

Defined in: attributes/shape/effects/chain.ts:175

Darkened edges / lens falloff. Scalar shorthand sets amount.

Extends

Properties

amount?

optional amount?: number

Defined in: attributes/shape/effects/chain.ts:177

0–1 tint strength at the edge (default 0.5).


color?

optional color?: Color

Defined in: attributes/shape/effects/chain.ts:183

Tint colour (default 'black').


mode?

optional mode?: EffectMode

Defined in: attributes/shape/effects/effect-data.ts:83

Inherited from

EffectOptions.mode


radius?

optional radius?: number

Defined in: attributes/shape/effects/chain.ts:179

0–1 normalised radius where the falloff starts (default 0.75).


softness?

optional softness?: number

Defined in: attributes/shape/effects/chain.ts:181

0–1 ramp width; 0 is a hard ring (default 0.5).