FastLED
3.10.8
Loading...
Searching...
No Matches
◆
operator=()
[2/2]
template<int SIZE>
CPixelView
&
CPixelView
< PIXEL_TYPE >::operator=
(
const PIXEL_TYPE &
color
)
inline
Assign the passed in color to all elements in this set.
Parameters
color
the new color for the elements in the set
Definition at line
164
of file
pixelset.h
.
164
{
165
for
(
iterator
pixel
=
begin
(),
_end
=
end
();
pixel
!=
_end
; ++
pixel
) { (*pixel) =
color
; }
166
return
*
this
;
167
}
CPixelView< CRGB >::end
iterator end() FL_NO_EXCEPT
Definition
pixelset.h:482
CPixelView< CRGB >::begin
iterator begin() FL_NO_EXCEPT
Definition
pixelset.h:481
CPixelView< CRGB >::iterator
pixelset_iterator_base< CRGB > iterator
Definition
pixelset.h:478
CRGBArray
A version of CPixelView<CRGB> with an included array of CRGB LEDs.
Definition
pixelset.h:502
CRGBArray
Generated on Thu Oct 22 2026 05:46:02 for FastLED by
1.13.2