class TemperatureDataSource
TemperatureDataInterpolated › TemperatureData
Constructors 1
void TemperatureData(float val, ETemperatureAccessTypes accessType = ETemperatureAccessTypes.ACCESS_UNKNOWN, float time = -1, float timeCoef = 1, float heatPermCoef = 1)References Init(), m_AccessType, m_AdjustedTarget
Show 4 more
, m_HeatPermeabilityCoef, m_UpdateTimeCoef, m_UpdateTimeInfo, and m_ValueReferenced by EntityAI.SetTemperature()
Members 9
ETemperatureAccessTypes m_AccessTypebool m_UseGlobalCoolingfloat m_Valuetarget or increment, depends on context!
float m_AdjustedTargetactual target of the operation (can be adjusted via over-time interpolation, not necessarily the original target value!)
float m_UpdateTimeInfoif the temperature change was accumulated over some time, pass this info to temperature subsystems
float m_UpdateTimeCoefmultiplies the time
float m_HeatPermeabilityCoefpermeability multiplier (modifies change speed).
float m_InterpolatedStepSizeonly useful for interpolated temperature values
float m_InterpolatedFractiononly useful for interpolated temperature values
Methods 1
protected void Init()Referenced by TemperatureData()