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

◆ getAnimartrixInfo()

AnimartrixAnimInfo fl::getAnimartrixInfo ( int index)
inline

Definition at line 198 of file animartrix.hpp.

198 {
199 if (index < 0 || index >= static_cast<int>(AnimartrixAnim::NUM_ANIMATIONS)) {
200 return {-1, "UNKNOWN"};
201 }
202 return {static_cast<int>(ANIMATION_TABLE[index].anim),
203 ANIMATION_TABLE[index].name};
204}
static const AnimartrixEntry ANIMATION_TABLE[]

References ANIMATION_TABLE, and NUM_ANIMATIONS.

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

+ Here is the caller graph for this function: