FastLED 3.9.15
Loading...
Searching...
No Matches

◆ setAutoUpdate()

void fl::WaveFx::setAutoUpdate ( bool autoUpdate)
inline

Enable/disable automatic simulation updates.

Parameters
autoUpdateIf true, simulation advances each draw() call

When enabled, draw() automatically advances the wave simulation. Disable this if you want manual control via update() calls.

Definition at line 355 of file wave.h.

355 {
356 // Set whether to automatically update the wave simulation.
357 mAutoUpdates = autoUpdate;
358 }
bool mAutoUpdates
Definition wave.h:378

References mAutoUpdates.

Referenced by WaveFx().

+ Here is the caller graph for this function: