|
FastLED 3.9.15
|
| fl::Fx2dTo1d::Fx2dTo1d | ( | u16 | numLeds, |
| Fx2dPtr | fx2d, | ||
| const ScreenMap & | screenMap, | ||
| InterpolationMode | mode = BILINEAR ) |
Construct a 2D-to-1D sampling effect.
| numLeds | Number of LEDs in the 1D strip |
| fx2d | The 2D effect to sample from |
| screenMap | Mapping from 1D index to 2D float coordinates |
| mode | Interpolation mode (default: BILINEAR) |
Definition at line 10 of file fx2d_to_1d.cpp.hpp.
References fl::Fx1d::Fx1d(), fl::Fx::getNumLeds(), mFx2d, mGrid, mInterpolationMode, mScreenMap, and screenMap.
Here is the call graph for this function: