FastLED 3.9.15
Loading...
Searching...
No Matches

◆ setLifetime()

void fl::Particles1d::setLifetime ( u16 lifetime_ms)

Set average particle lifetime in milliseconds.

Parameters
lifetime_msLifetime in milliseconds (default: 4000)

Definition at line 63 of file particles.cpp.hpp.

63 {
64 mLifetimeMs = lifetime_ms;
65}
u16 mLifetimeMs
Average particle lifetime in milliseconds.
Definition particles.h:133

References mLifetimeMs.

Referenced by ~Particles1d().

+ Here is the caller graph for this function: