@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?
optionalamount?:number
Defined in: attributes/shape/effects/chain.ts:300
Shorthand: ±px horizontal spread of red vs. blue (default 4).
blue?
optionalblue?:Vector2
Defined in: attributes/shape/effects/chain.ts:306
Blue plane offset in px. Overrides amount for this channel.
green?
optionalgreen?:Vector2
Defined in: attributes/shape/effects/chain.ts:304
Green plane offset in px.
mode?
optionalmode?:EffectMode
Defined in: attributes/shape/effects/effect-data.ts:83
Inherited from
EffectOptions.mode
red?
optionalred?:Vector2
Defined in: attributes/shape/effects/chain.ts:302
Red plane offset in px. Overrides amount for this channel.