Skip to content

MotionBlurHandle

Defined in: effects/src/handles.ts:108

Handle returned by motionBlur.

  • EffectHandle

readonly enabled: boolean

Defined in: renderer/dist/api-BwbPRSMp.d.ts:18

Whether the effect is currently enabled.

EffectHandle.enabled

fadeIn(duration): Process

Defined in: renderer/dist/api-BwbPRSMp.d.ts:20

Tween the effect’s primary intensity 0 → 1 over duration ms.

number

Process

EffectHandle.fadeIn


fadeOut(duration): Process

Defined in: renderer/dist/api-BwbPRSMp.d.ts:22

Tween the effect’s primary intensity → 0 over duration ms.

number

Process

EffectHandle.fadeOut


remove(): void

Defined in: renderer/dist/api-BwbPRSMp.d.ts:14

Remove the effect immediately. Idempotent.

void

EffectHandle.remove


run(p): Process

Defined in: renderer/dist/api-BwbPRSMp.d.ts:34

Schedule a Process scoped to this effect’s lifetime. The process is routed through the same ScopedProcessQueue the effect’s fades use — pauses with the owning scene, time-scales with it, and is cancelled automatically when the effect is removed.

Useful for factories that need timed work (e.g. a one-shot trigger ramp, a uniform animator) without asking the caller to wire step(dt). The returned Process can be cancelled early; otherwise it tears down with the effect.

Process

Process

EffectHandle.run


setEnabled(on): void

Defined in: renderer/dist/api-BwbPRSMp.d.ts:16

Toggle the effect without removing it. Flips the underlying filter’s .enabled.

boolean

void

EffectHandle.setEnabled


setVelocity(x, y): void

Defined in: effects/src/handles.ts:109

number

number

void