FastLED 3.10.8
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 1181 of file channel.cpp.hpp.

1181 {
1182 return mSettings.mGamma;
1183}
ChannelOptions mSettings
Definition channel.h:459
fl::optional< float > mGamma
Definition options.h:100

References fl::FL_NO_EXCEPT, and mSettings.