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

Method Mul

examples/LuminescentGrand/shared/color.h:29–31  ·  view source on GitHub ↗

Input range is 0.0 -> 1.0

Source from the content-addressed store, hash-verified

27 void Mul(const Color3i& other_color);
28 void Mulf(float scale); // Input range is 0.0 -> 1.0
29 void Mul(uint8_t val) {
30 Mul(Color3i(val, val, val));
31 }
32 void Sub(const Color3i& color);
33 void Add(const Color3i& color);
34 uint8_t Get(int rgb_index) const;

Callers

nothing calls this directly

Calls 1

Color3iClass · 0.70

Tested by

no test coverage detected