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

◆ constructWithUserFunction()

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

Definition at line 8 of file xmap.cpp.hpp.

9 {
10 XMap out = XMap(length, kFunction);
11 out.xFunction = xFunction;
12 out.mOffset = offset;
13 return out;
14}
u16 length
Definition xmap.h:57
@ kFunction
Definition xmap.h:26
XMap(u16 length, bool is_reverse=false, u16 offset=0)
Definition xmap.cpp.hpp:25
XFunction xFunction
Definition xmap.h:59
fl::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: