![]() |
HitLib 1.5.0
VEX V5 LED animation library for PROS
|
A named, reusable custom animation: layers over a driver table and a clock. More...
#include <led_strand.hpp>
Public Attributes | |
| const char * | name |
| const Layer * | layers |
| Drawn in order; layer 0 is the bottom. | |
| uint8_t | layerCount |
| const Driver * | drivers |
| uint8_t | driverCount |
| uint32_t | loopMs |
| 0 means the timeline never wraps. | |
| uint32_t | bgColor |
| What the frame starts as, under layer 0. | |
A named, reusable custom animation: layers over a driver table and a clock.
Like Profile and MusicTrack, a Composition is pointed at rather than copied, so it and everything it points at must outlive the strand. Pattern Studio emits all of it as namespace-scope constants.
| const char* hitlib::LedStrand::Composition::name |
| const Layer* hitlib::LedStrand::Composition::layers |
Drawn in order; layer 0 is the bottom.
| uint8_t hitlib::LedStrand::Composition::layerCount |
| const Driver* hitlib::LedStrand::Composition::drivers |
| uint8_t hitlib::LedStrand::Composition::driverCount |
| uint32_t hitlib::LedStrand::Composition::loopMs |
0 means the timeline never wraps.
| uint32_t hitlib::LedStrand::Composition::bgColor |
What the frame starts as, under layer 0.