Temperature value to be applied to an effect.
More...
#include <WeArtTemperature.h>
Temperature value to be applied to an effect.
◆ WeArtTemperature() [1/2]
WeArtTemperature::WeArtTemperature |
( |
| ) |
|
|
inline |
◆ WeArtTemperature() [2/2]
WeArtTemperature::WeArtTemperature |
( |
bool |
active, |
|
|
float |
temperature |
|
) |
| |
|
inline |
◆ operator==()
◆ value() [1/2]
float WeArtTemperature::value |
( |
| ) |
const |
|
inline |
Temperature value getter.
- Returns
- the temperature value
◆ value() [2/2]
void WeArtTemperature::value |
( |
float |
temperature | ) |
|
|
inline |
Temperature value setter.
- Parameters
-
temperature | The temperature value to set |
◆ active
bool WeArtTemperature::active |
◆ DefaultValue
constexpr float WeArtTemperature::DefaultValue = 0.5f |
|
staticconstexpr |
◆ MaxValue
constexpr float WeArtTemperature::MaxValue = 1.0f |
|
staticconstexpr |
◆ MinValue
constexpr float WeArtTemperature::MinValue = 0.0f |
|
staticconstexpr |
The documentation for this struct was generated from the following file: