FastLED 3.10.10
Loading...
Searching...
No Matches

◆ getGamma()

fl::optional< float > fl::Channel::getGamma ( ) const

Get gamma correction value.

Returns
Gamma value if set, nullopt otherwise

Definition at line 1218 of file channel.cpp.hpp.

1218 {
1219 return mSettings.mGamma;
1220}
ChannelOptions mSettings
Definition channel.h:456
fl::optional< float > mGamma
Definition options.h:101

References fl::FL_NO_EXCEPT, and mSettings.