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

◆ constructWithUserFunction()

XMap fl::XMap::constructWithUserFunction ( uint16_t length,
XFunction xFunction,
uint16_t offset = 0 )
static

Definition at line 7 of file xmap.cpp.

8 {
10 out.xFunction = xFunction;
11 out.mOffset = offset;
12 return out;
13}
uint16_t length
Definition xmap.h:61
XMap(uint16_t length, bool is_reverse=false, uint16_t offset=0)
Definition xmap.cpp:24
@ kFunction
Definition xmap.h:30
XFunction xFunction
Definition xmap.h:63
UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)

References XMap(), kFunction, length, mOffset, offset(), and xFunction.

+ Here is the call graph for this function: