FastLED 3.10.6
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 264 of file wave.h.

264 {
265 // Set the supersampling factor of the wave simulation.
266 mWaveSim.setSuperSample(factor);
267 }
WaveSimulation2D mWaveSim
Definition wave.h:416

References mWaveSim.