|
FastLED 3.9.15
|
| void fl::Particles1d::Particle::spawn | ( | float | pos, |
| float | baseVel, | ||
| CHSV | baseColor, | ||
| u32 | lifetime ) |
Spawn with specific parameters.
| pos | Initial position |
| baseVel | Base velocity (positive = forward, negative = backward) |
| baseColor | Initial HSV color |
| lifetime | Lifespan in milliseconds |
Definition at line 106 of file particles.cpp.hpp.
References active, baseColor, baseVel, birthTime, lifetime, fl::millis(), and pos.
Here is the call graph for this function: