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

◆ constructWithUserFunction()

XYMap fl::XYMap::constructWithUserFunction ( u16 width,
u16 height,
XYFunction xyFunction,
u16 offset = 0 )
static

Definition at line 26 of file xymap.cpp.

27 {
29 out.xyFunction = xyFunction;
30 out.mOffset = offset;
31 return out;
32}
XYFunction xyFunction
Definition xymap.h:129
u16 width
Definition xymap.h:127
@ kFunction
Definition xymap.h:47
XYMap(u16 width, u16 height, bool is_serpentine=true, u16 offset=0)
Definition xymap.cpp:59
u16 height
Definition xymap.h:128
UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)

References XYMap(), height, kFunction, mOffset, offset(), width, and xyFunction.

Referenced by fl::blur2d().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: