|
PixelKey
NeoPixel USB Key
|
Fade keyframe. More...
#include <keyframe_fade.h>
Data Fields | |
| keyframe_base_t | base |
| Keyframe base; MUST be the first entry in the struct. | |
| struct { | |
| float period | |
| Number of seconds to fade over; max of 60 seconds. | |
| fade_type_t fade_type | |
| The type of transition to perform. | |
| cubic_bezier_t curve | |
| The cubic bezier curve points for non-step transitions. | |
| bool push_current | |
| Push the current color to be the first. | |
| uint8_t colors_len | |
| Number of colors provided. | |
| color_hsv_t colors [((15)+1)] | |
| Array of colors provided by the user. | |
| } | args |
| Parsed arguments. | |
| struct { | |
| fade_axis_t fade_axis | |
| Which axis of the colors need to be faded. | |
| timestep_t pair_period | |
| The period to transition between each pair of colors. | |
| timestep_t finish_time | |
| Total number of frames for this keyframe at the current framerate. | |
| uint8_t pair_index | |
| Index of the first color of the currently transitioning pair. | |
| point_t curr_b_info | |
| The current bezier point to render. | |
| framerate_t framerate | |
| Framerate currently being used. | |
| } | state |
| Keyframe render state. | |
Fade keyframe.