Skip to main content

IHeatReceiver

An interface in Root.Township, Alta.Heat.

A heat source that can also take in heat, such as HeatPoint. Heat areas and other heat points conduct into it.

Properties​

MemberWhat it is
float InternalEnergy { get; set; }Temperature times volume. Setting it changes the temperature.
bool IsConductionAllowed { get; set; }Whether heat can conduct to or from this receiver.
bool IsIgnoringAmbient { get; set; }When true, the receiver skips cooling towards the ambient temperature this update.
float Volume { get; set; }Heat capacity used when sharing energy between receivers.

Methods​

MemberWhat it is
void Conduct(float temperature, bool isIgnoringAmbient, float weight = 1)Moves the receiver's temperature towards the given one, scaled by weight and frame time. On HeatPoint this is server only.

Used in​

Members of other types that take, return or hold a IHeatReceiver: