28 _value = temperature <= MinValue ? MinValue : temperature >=
MaxValue ?
MaxValue : temperature;
Temperature value to be applied to an effect.
Definition: WeArtTemperature.h:5
static constexpr float MinValue
Definition: WeArtTemperature.h:14
static constexpr float DefaultValue
Definition: WeArtTemperature.h:13
WeArtTemperature(bool active, float temperature)
Definition: WeArtTemperature.h:9
bool operator==(const WeArtTemperature &other) const
Definition: WeArtTemperature.h:31
static constexpr float MaxValue
Definition: WeArtTemperature.h:15
void value(float temperature)
Temperature value setter.
Definition: WeArtTemperature.h:27
float value() const
Temperature value getter.
Definition: WeArtTemperature.h:21
bool active
Definition: WeArtTemperature.h:17
WeArtTemperature()
Definition: WeArtTemperature.h:7