FastLED
3.9.15
Loading...
Searching...
No Matches
◆
operator=()
[2/2]
template<class PIXEL_TYPE>
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
128
of file
pixelset.h
.
128
{
129
for
(
iterator
pixel
=
begin
(),
_end
=
end
();
pixel
!=
_end
; ++
pixel
) { (*pixel) =
color
; }
130
return
*
this
;
131
}
CPixelView::end
iterator end()
Makes an iterator instance for the end of the LED set.
Definition
pixelset.h:441
CPixelView::iterator
pixelset_iterator_base< PIXEL_TYPE > iterator
Iterator helper type for this class.
Definition
pixelset.h:437
CPixelView::begin
iterator begin()
Makes an iterator instance for the start of the LED set.
Definition
pixelset.h:440
CPixelView
Represents a set of LED objects.
Definition
pixelset.h:67
CPixelView
Generated on Fri Apr 18 2025 03:39:32 for FastLED by
1.13.2