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 115 of file fx_engine.h.

115{ mTimeFunction.setSpeed(scale); }
UISlider scale("Scale", 1.0f, 0.0f, 1.0f, 0.01f)
TimeWarp mTimeFunction
Definition fx_engine.h:119

References mTimeFunction, and scale.