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

◆ constructWithLookUpTable()

XMap fl::XMap::constructWithLookUpTable ( uint16_t length,
const uint16_t * lookUpTable,
uint16_t offset = 0 )
static

Definition at line 15 of file xmap.cpp.

17 {
19 out.mData = lookUpTable;
20 out.mOffset = offset;
21 return out;
22}
uint16_t length
Definition xmap.h:61
XMap(uint16_t length, bool is_reverse=false, uint16_t offset=0)
Definition xmap.cpp:24
@ kLookUpTable
Definition xmap.h:30
UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)

References XMap(), kLookUpTable, length, mData, mOffset, and offset().

+ Here is the call graph for this function: