MCPcopy Create free account
hub / github.com/FastLED/FastLED / setGradient

Method setGradient

src/fl/fx/2d/wave.h:92–92  ·  view source on GitHub ↗

@brief Set or update the color gradient @param gradient New gradient to use for color mapping

Source from the content-addressed store, hash-verified

90 /// @brief Set or update the color gradient
91 /// @param gradient New gradient to use for color mapping
92 void setGradient(const Gradient &gradient) { mGradient = gradient; }
93
94 private:
95 Gradient mGradient;

Callers 1

drawWaveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected