FastLED 3.10.10
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 1243 of file channel.cpp.hpp.

1243 {
1244 mScreenMap = map;
1246 return *this;
1247}
fl::ScreenMap mScreenMap
Definition channel.h:455
CLEDController * asController() FL_NO_EXCEPT
Get pointer to base CLEDController for linked list traversal.
Definition channel.h:194
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: