@motion-script/core / MotionBlurEffect
Interface: MotionBlurEffect
Defined in: attributes/shape/effects/implementations/motion-blur.ts:15
Velocity-driven motion blur. Unlike DirectionalBlurEffect, whose smear
is authored, this derives its direction and length from the node's actual
per-frame motion (sampled by the renderer), modelled on After Effects' shutter
angle (length) and shutter phase (alignment). A static node renders sharp.
Extends
Properties
alignment
alignment:
MotionBlurAlignment
Defined in: attributes/shape/effects/implementations/motion-blur.ts:28
Shutter phase — where the smear sits relative to the node's current
position along its motion. 'behind' (−1) trails the motion, 'centered'
(0) straddles it, 'ahead' (1) leads it; a number is clamped to −1…1.
axis
axis:
EffectAxis
Defined in: attributes/shape/effects/implementations/motion-blur.ts:38
Per-axis velocity scale — see EffectAxis.
length
length:
number
Defined in: attributes/shape/effects/implementations/motion-blur.ts:22
Shutter "openness" as a percentage, the user-friendly form of a shutter
angle. 100 ≈ 360° = a smear spanning the node's full per-frame
displacement; 0 = no blur.
mode?
optionalmode?:EffectMode
Defined in: attributes/shape/effects/effect-data.ts:83
Inherited from
samples
samples:
number
Defined in: attributes/shape/effects/implementations/motion-blur.ts:34
Quality hint for the renderer. Low values use a cheap continuous smear; above the renderer's threshold it switches to discrete multi-tap accumulation (After Effects' "Samples Per Frame" look).
strength
strength:
number
Defined in: attributes/shape/effects/implementations/motion-blur.ts:36
Multiplier on the blur length. 1 = nominal, 0 = off.
type
type:
"motionBlur"
Defined in: attributes/shape/effects/implementations/motion-blur.ts:16