WaveHandle
Defined in: effects/src/handles.ts:190
Handle returned by wave (custom shader). The time uniform self-advances
through the engine’s process scheduler — pauses with scene, time-scales
with it. setSpeed retunes the per-frame phase rate.
Extends
Section titled “Extends”Properties
Section titled “Properties”enabled
Section titled “enabled”
readonlyenabled:boolean
Defined in: renderer/dist/api-COFaMdt3.d.ts:106
Whether the effect is currently enabled.
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”fadeIn()
Section titled “fadeIn()”fadeIn(
duration):Process
Defined in: renderer/dist/api-COFaMdt3.d.ts:110
Tween the effect’s primary intensity 0 → 1 over duration seconds.
Parameters
Section titled “Parameters”duration
Section titled “duration”number
Returns
Section titled “Returns”Process
Inherited from
Section titled “Inherited from”fadeOut()
Section titled “fadeOut()”fadeOut(
duration):Process
Defined in: renderer/dist/api-COFaMdt3.d.ts:112
Tween the effect’s primary intensity → 0 over duration seconds.
Parameters
Section titled “Parameters”duration
Section titled “duration”number
Returns
Section titled “Returns”Process
Inherited from
Section titled “Inherited from”remove()
Section titled “remove()”remove():
void
Defined in: renderer/dist/api-COFaMdt3.d.ts:102
Remove the effect immediately. Idempotent.
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”run(
p):Process
Defined in: renderer/dist/api-COFaMdt3.d.ts:124
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.
Parameters
Section titled “Parameters”Process
Returns
Section titled “Returns”Process
Inherited from
Section titled “Inherited from”setAmplitude()
Section titled “setAmplitude()”setAmplitude(
value):void
Defined in: effects/src/handles.ts:191
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”void
setEnabled()
Section titled “setEnabled()”setEnabled(
on):void
Defined in: renderer/dist/api-COFaMdt3.d.ts:104
Toggle the effect without removing it. Flips the underlying filter’s .enabled.
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”setIntensity()
Section titled “setIntensity()”setIntensity(
value):void
Defined in: renderer/dist/api-COFaMdt3.d.ts:108
Set the effect’s primary intensity. Values are clamped to 0–1.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”setSpeed()
Section titled “setSpeed()”setSpeed(
value):void
Defined in: effects/src/handles.ts:193
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”void
setWavelength()
Section titled “setWavelength()”setWavelength(
value):void
Defined in: effects/src/handles.ts:192
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”void
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.