modm API documentation
modm::ui::KeyFrame< T, N > Struct Template Reference

#include <modm/ui/animation/key_frame.hpp>

Public Member Functions

 KeyFrame (TimeType length, T...values)
 Constructor with length and multiple values of type T.
 

Public Attributes

TimeType length
 the length of this frame in ms
 
value [N]
 the values as an array
 

Detailed Description

template<typename T = uint8_t, uint8_t N = 1>
struct modm::ui::KeyFrame< T, N >

This struct specifies one key frame of an animation.

Template Parameters
Tthe type of the values in this frame
Nthe number of values in this frame
Author
Niklas Hauser

The documentation for this struct was generated from the following file: