53 absBaseTempChange *= -1;
59 absBaseTempChange *= coef;
float m_InterpolatedStepSize
float m_InterpolatedFraction
float m_HeatPermeabilityCoef
class TemperatureData InterpolateTemperatureDelta(float start)
void TemperatureData(float val, ETemperatureAccessTypes accessType=ETemperatureAccessTypes.ACCESS_UNKNOWN, float time=-1, float timeCoef=1, float heatPermCoef=1)
ETemperatureAccessTypes m_AccessType
float m_InterpolatedStepSize
float m_InterpolatedFraction
float m_HeatPermeabilityCoef
const float TEMP_COEF_COOLING_GLOBAL
static const float TEMPERATURE_RATE_MAX_ABS
static const float TEMPERATURE_INTERPOLATION_THRESHOLD_MIN_ABS
static const float TEMPERATURE_RATE_AVERAGE_ABS
static const float TEMPERATURE_INTERPOLATION_THRESHOLD_MAX_ABS
static proto float Max(float x, float y)
Returns bigger of two given values.
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
static proto float Min(float x, float y)
Returns smaller of two given values.
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...