FastLED 3.10.8
Loading...
Searching...
No Matches

◆ setScreenMap() [1/4]

Channel & fl::Channel::setScreenMap ( const fl::ScreenMap & map)

Set screen map for JS canvas visualization.

Parameters
mapScreenMap with LED positions
Returns
Reference to this channel for method chaining

Definition at line 1206 of file channel.cpp.hpp.

1206 {
1207 mScreenMap = map;
1209 return *this;
1210}
fl::ScreenMap mScreenMap
Definition channel.h:458
CLEDController * asController() FL_NO_EXCEPT
Get pointer to base CLEDController for linked list traversal.
Definition channel.h:192
static void onCanvasUiSet(CLEDController *strip, const ScreenMap &xymap) FL_NO_EXCEPT
MapRedBlackTree< Key, T, Compare, fl::allocator_slab< char > > map
Definition map.h:283

References Channel(), asController(), fl::FL_NO_EXCEPT, mScreenMap, and fl::EngineEvents::onCanvasUiSet().

+ Here is the call graph for this function: