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

◆ setSpeed()

void fl::FxEngine::setSpeed ( float scale)
inline

Sets the speed of the fx engine, which will impact the speed of all effects.

Parameters
timeScaleThe new time scale value.

Definition at line 116 of file fx_engine.h.

116{ mTimeFunction.setScale(scale); }
UISlider scale("Scale", 4,.1, 4,.1)
TimeScale mTimeFunction
Definition fx_engine.h:120

References mTimeFunction, and scale.