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

◆ FxEngine()

fl::FxEngine::FxEngine ( uint16_t numLeds,
bool interpolate = true )

Constructs an FxEngine with the specified number of LEDs.

Parameters
numLedsThe number of LEDs in the strip.

Definition at line 7 of file fx_engine.cpp.

7 :
9 mCompositor(numLeds),
10 mCurrId(0),
11 mInterpolate(interpolate) {
12}
FxCompositor mCompositor
Handles effect transitions and rendering.
Definition fx_engine.h:122
TimeScale mTimeFunction
Definition fx_engine.h:120
int mCurrId
Id of the current effect.
Definition fx_engine.h:123
bool mInterpolate
Definition fx_engine.h:126

References mCompositor, mCurrId, mInterpolate, and mTimeFunction.