Skip to content

motionBlur

const motionBlur: EffectDefinition<MotionBlurHandle, MotionBlurOptions>

Defined in: effects/src/motionBlur.ts:26

Directional motion blur via pixi-filters’ MotionBlurFilter — the streak effect for fast-moving sprites or hit-stop polish. The blur direction is a 2-D velocity vector in pixels; magnitude controls strength.

setIntensity scales the configured velocity from zero (no blur) to its full magnitude, so fadeIn ramps the streak in cleanly. setVelocity rebases the full vector while preserving the current intensity ratio so an in-flight fade keeps animating against the new direction.