FastLED
3.9.15
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
163
of file
pixelset.h
.
163
{
164
for
(
iterator
pixel
=
begin
(),
_end
=
end
();
pixel
!=
_end
; ++
pixel
) { (*pixel) =
color
; }
165
return
*
this
;
166
}
CPixelView< CRGB >::end
iterator end()
Definition
pixelset.h:476
CPixelView< CRGB >::iterator
pixelset_iterator_base< CRGB > iterator
Definition
pixelset.h:472
CPixelView< CRGB >::begin
iterator begin()
Definition
pixelset.h:475
CRGBArray
A version of CPixelView<CRGB> with an included array of CRGB LEDs.
Definition
pixelset.h:496
CRGBArray
Generated on Tue Jun 16 2026 00:07:03 for FastLED by
1.13.2