![]() |
FastFX
1.1.0
LED Strip Animation and Effects Framework for Arduino
|
#include <FFXAFXFader.h>
Public Member Functions | |
FFXAFXFader (uint16_t pixels) | |
virtual | ~FFXAFXFader () |
virtual void | onUpdate (CRGBSet &pixels) override |
CRGB * | getBackgroundBuffer () |
void | freeBackgroundBuffer () |
![]() | |
FFXAutoFader () | |
FFXAutoFader (uint8_t initValue) | |
virtual | ~FFXAutoFader () |
bool | isFading () |
bool | isUpdated () |
uint8_t | getTarget () |
void | setTarget (uint8_t newTarget) |
uint8_t | getValue () |
void | update (CRGBSet &pixels) |
void | setInterval (uint16_t ms) |
uint16_t | getInterval () |
void | updateFader () |
FFXAFXfader - Autofader for Opacity, must use a background buffer to facilitate fading. Buffer is automatically allocated as needed. May be deallocated by calling freeBackgroundBuffer(). Override for onUpdate() draws fame blended with background contained in the buffer.
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
overridevirtual |
Implements FFXAutoFader.