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
120
of file
pixelset.h
.
120
{
121
for
(
iterator
pixel
=
begin
(),
_end
=
end
();
pixel
!=
_end
; ++
pixel
) { (*pixel) =
color
; }
122
return
*
this
;
123
}
CPixelView< CRGB >::end
iterator end()
Definition
pixelset.h:433
CPixelView< CRGB >::iterator
pixelset_iterator_base< CRGB > iterator
Definition
pixelset.h:429
CPixelView< CRGB >::begin
iterator begin()
Definition
pixelset.h:432
CRGBArray
A version of CPixelView<CRGB> with an included array of CRGB LEDs.
Definition
pixelset.h:453
CRGBArray
Generated on Thu Jun 5 2025 04:29:39 for FastLED by
1.13.2