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

◆ setSuperSample()

void fl::WaveFx::setSuperSample ( SuperSample factor)
inline

Set supersampling quality level.

Parameters
factorQuality level (SUPER_SAMPLE_NONE, _2X, _4X, or _8X)

Supersampling improves visual quality by simulating at higher resolution than the LED grid. Higher values = smoother but slower. Recommended: SUPER_SAMPLE_2X for good balance.

Definition at line 235 of file wave.h.

235 {
236 // Set the supersampling factor of the wave simulation.
237 mWaveSim.setSuperSample(factor);
238 }
WaveSimulation2D mWaveSim
Definition wave.h:376

References mWaveSim.