|
FastLED 3.9.15
|
| void fl::PerlinParticlePunch::spawnMeteor | ( | float | intensity = 1.0f | ) |
Spawn a BEAT meteor at position 0, traveling toward end of strip.
| intensity | 0.0-1.0, controls speed, head brightness, debris. |
Definition at line 163 of file perlin_particle_punch.cpp.hpp.
References fl::PerlinParticlePunch::MeteorParticle::alive, fl::PerlinParticlePunch::MeteorParticle::debrisSpawned, fl::PerlinParticlePunch::MeteorParticle::frameCounter, fl::PerlinParticlePunch::MeteorParticle::intensity, fl::PerlinParticlePunch::MeteorParticle::maxDebris, mSpeed, fl::PerlinParticlePunch::MeteorParticle::position, tryAllocateMeteor(), and fl::PerlinParticlePunch::MeteorParticle::velocity.
Referenced by ~PerlinParticlePunch().
Here is the call graph for this function:
Here is the caller graph for this function: