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

◆ Particle()

fl::Particles1d::Particle::Particle ( )

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

88: pos(0), baseVel(0), birthTime(0), lifetime(0), active(false) {}
bool active
Active flag (false = available for reuse)
Definition particles.h:108
float pos
Position (floating point for sub-pixel rendering)
Definition particles.h:103
float baseVel
Base velocity (actual velocity = baseVel × power)
Definition particles.h:104
u32 lifetime
Lifespan in milliseconds.
Definition particles.h:107
u32 birthTime
Spawn timestamp (ms)
Definition particles.h:106

References active, baseVel, birthTime, lifetime, and pos.