Low-Level C++ SDK  v1.2.0
Loading...
Searching...
No Matches
WeArtTemperature Struct Reference

Temperature value to be applied to an effect. More...

#include <WeArtTemperature.h>

Public Member Functions

 WeArtTemperature ()
 
 WeArtTemperature (bool active, float temperature)
 
float value () const
 Temperature value getter.
 
void value (float temperature)
 Temperature value setter.
 
bool operator== (const WeArtTemperature &other) const
 

Public Attributes

bool active
 

Static Public Attributes

static constexpr float DefaultValue = 0.5f
 
static constexpr float MinValue = 0.0f
 
static constexpr float MaxValue = 1.0f
 

Detailed Description

Temperature value to be applied to an effect.

Constructor & Destructor Documentation

◆ WeArtTemperature() [1/2]

WeArtTemperature::WeArtTemperature ( )
inline

◆ WeArtTemperature() [2/2]

WeArtTemperature::WeArtTemperature ( bool  active,
float  temperature 
)
inline

Member Function Documentation

◆ operator==()

bool WeArtTemperature::operator== ( const WeArtTemperature other) const
inline

◆ 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
temperatureThe temperature value to set

Member Data Documentation

◆ 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: