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

◆ constructWithUserFunction()

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

Definition at line 7 of file xmap.cpp.

8 {
10 out.xFunction = xFunction;
11 out.mOffset = offset;
12 return out;
13}
u16 length
Definition xmap.h:61
@ kFunction
Definition xmap.h:30
XMap(u16 length, bool is_reverse=false, u16 offset=0)
Definition xmap.cpp:24
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: