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

◆ FxEngine()

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

Constructs an FxEngine with the specified number of LEDs.

Parameters
numLedsThe number of LEDs in the strip.

Definition at line 10 of file fx_engine.cpp.hpp.

11 : mTimeFunction(0), mCompositor(numLeds), mCurrId(0),
12 mInterpolate(interpolate) {
14}
FxCompositor mCompositor
Handles effect transitions and rendering.
Definition fx_engine.h:137
int mCurrId
Id of the current effect.
Definition fx_engine.h:138
IntFxMap mEffects
Collection of effects.
Definition fx_engine.h:136
bool mInterpolate
Definition fx_engine.h:142
TimeWarp mTimeFunction
Definition fx_engine.h:134
#define FASTLED_FX_ENGINE_MAX_FX

References FASTLED_FX_ENGINE_MAX_FX, mCompositor, mCurrId, mEffects, mInterpolate, and mTimeFunction.