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 6 of file fx_engine.cpp.

7 : mTimeFunction(0), mCompositor(numLeds), mCurrId(0),
8 mInterpolate(interpolate) {}
FxCompositor mCompositor
Handles effect transitions and rendering.
Definition fx_engine.h:122
int mCurrId
Id of the current effect.
Definition fx_engine.h:123
bool mInterpolate
Definition fx_engine.h:127
TimeWarp mTimeFunction
Definition fx_engine.h:119

References mCompositor, mCurrId, mInterpolate, and mTimeFunction.