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

◆ XMap() [1/3]

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

Definition at line 24 of file xmap.cpp.

24 {
25 type = is_reverse ? kReverse : kLinear;
26 this->length = length;
27 this->mOffset = offset;
28}
uint16_t mOffset
Definition xmap.h:66
Type type
Definition xmap.h:62
uint16_t length
Definition xmap.h:61
@ kLinear
Definition xmap.h:30
@ kReverse
Definition xmap.h:30
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: