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

◆ XMap() [1/3]

fl::XMap::XMap ( u16 length,
bool is_reverse = false,
u16 offset = 0 )

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

25 {
26 type = is_reverse ? kReverse : kLinear;
27 this->length = length;
28 this->mOffset = offset;
29}
Type type
Definition xmap.h:58
u16 length
Definition xmap.h:57
u16 mOffset
Definition xmap.h:62
@ kLinear
Definition xmap.h:26
@ kReverse
Definition xmap.h:26
fl::UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)

References kLinear, kReverse, length, mOffset, offset(), and type.

Referenced by XMap(), constructWithLookUpTable(), constructWithUserFunction(), and operator=().

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