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

Method setPersistence

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

Parameter setters.

Source from the content-addressed store, hash-verified

235
236 // Parameter setters.
237 void setPersistence(float halfLife) { mParams.persistence = halfLife; }
238 void setColorShift(float speed) { mParams.color_shift = speed; }
239 void setFlowAmplitudeX(float amp) { mParams.flow_amp_x = amp; }
240 void setFlowAmplitudeY(float amp) { mParams.flow_amp_y = amp; }

Callers 1

flowfield.hppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected