|
FastLED 3.9.15
|
| void fl::PerlinParticlePunch::spawnAmbient | ( | float | intensity = 0.5f | ) |
Spawn an ambient particle at a random position.
| intensity | 0.0-1.0, controls brightness and trail length. |
Definition at line 150 of file perlin_particle_punch.cpp.hpp.
References fl::PerlinParticlePunch::AmbientParticle::alive, fl::PerlinParticlePunch::AmbientParticle::brightness, fl::PerlinParticlePunch::AmbientParticle::headWidth, mSpeed, fl::PerlinParticlePunch::AmbientParticle::paletteIndex, fl::PerlinParticlePunch::AmbientParticle::position, random8(), tryAllocateAmbient(), and fl::PerlinParticlePunch::AmbientParticle::velocity.
Referenced by ~PerlinParticlePunch().
Here is the call graph for this function:
Here is the caller graph for this function: