MotionScript

@motion-script/core


@motion-script/core / ChromaticAberrationEffect

Interface: ChromaticAberrationEffect

Defined in: attributes/shape/effects/implementations/chromatic-aberration.ts:4

Mixin: every effect declares the layer it targets via EffectMode. Omitted is treated as "foreground". A single uniform field across all effects means the backdrop/foreground classifier never has to branch on type.

Extends

Properties

amount

amount: number

Defined in: attributes/shape/effects/implementations/chromatic-aberration.ts:7

Pixel offset distance for the R/B channel fringe.


angle

angle: number

Defined in: attributes/shape/effects/implementations/chromatic-aberration.ts:9

Angle in degrees — 0 = horizontal split (R left, B right).


mode?

optional mode?: EffectMode

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

Inherited from

ModedEffect.mode


type

type: "chromaticAberration"

Defined in: attributes/shape/effects/implementations/chromatic-aberration.ts:5