MCPcopy Create free account
hub / github.com/FastLED/FastLED / getTime

Method getTime

src/fl/fx/2d/animartrix_detail/engine.h:58–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57 void setTime(fl::u32 t) { currentTime = t; }
58 fl::u32 getTime() { return currentTime.has_value() ? currentTime.value() : fl::millis(); }
59
60 void init(int w, int h) {
61 animation = render_parameters();

Callers 3

drawMethod · 0.45
index.tsFile · 0.45
getTimeSinceEpocFunction · 0.45

Calls 3

millisFunction · 0.50
has_valueMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected