Skip to content

MotionBlurOptions

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

Options for the motionBlur preset.

optional kernelSize?: number

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

Blur kernel size — must be odd, ≥5. Default: 5.


optional offset?: number

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

Sample offset in host-local pixels. Default: 0.


optional velocity?: object

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

Blur velocity vector in host-local pixels. Default: { x: 30, y: 0 }.

x: number

y: number

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/effects.md.