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

◆ setTime()

void fl::setTime ( Context & ctx,
fl::u32 t )
inline

Definition at line 143 of file engine.h.

143 {
144 ctx.currentTime = t;
145 if (ctx.mEngine) {
146 ctx.mEngine->setTime(t);
147 }
148}
fl::optional< fl::u32 > currentTime
Definition context.h:35
fl::unique_ptr< Engine > mEngine
Definition context.h:38

References fl::Context::currentTime, fl::Context::mEngine, and t.

Referenced by fl::Animartrix::draw().

+ Here is the caller graph for this function: