MotionScript

@motion-script/core


@motion-script/core / RgbShiftOptions

Interface: RgbShiftOptions

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

Per-channel RGB offset. Scalar shorthand sets amount, which spreads red and blue apart horizontally by that many pixels and leaves green put — the everyday case. Name red/green/blue for full control.

Extends

Properties

amount?

optional amount?: number

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

Shorthand: ±px horizontal spread of red vs. blue (default 4).


blue?

optional blue?: Vector2

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

Blue plane offset in px. Overrides amount for this channel.


green?

optional green?: Vector2

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

Green plane offset in px.


mode?

optional mode?: EffectMode

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

Inherited from

EffectOptions.mode


red?

optional red?: Vector2

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

Red plane offset in px. Overrides amount for this channel.