This interface is used to modify the final temps applied to a part's skin and internals. The idea is that there is at most one per part. Analytic will use the Set() to tell the module what temps it plans to set, and what the calculated analytic temp was. Analytic will then set the part's skin and internal temp based on the Gets.
More...
|
double | GetInternalTemperature (out bool lerp) |
| Analytic will set the part's internal temperature to this (guaranteed to be called after SetAnalyticTemperature). More...
|
|
double | GetSkinTemperature (out bool lerp) |
| Analytic will set the part's skin temperature to this (guaranteed to be called after SetAnalyticTemperature). More...
|
|
void | SetAnalyticTemperature (FlightIntegrator fi, double analyticTemp, double toBeInternal, double toBeSkin) |
| Analytic will run this once per part per tick, telling the part what the analytic temperature is and what it plans to set the internal and skin temperatures to. It is up to the implementor of this method to be prepared for the following Get calls and do whatever resource subtraction is involved in procuring for the part temperatures other than the toBe temperatures. More...
|
|
This interface is used to modify the final temps applied to a part's skin and internals. The idea is that there is at most one per part. Analytic will use the Set() to tell the module what temps it plans to set, and what the calculated analytic temp was. Analytic will then set the part's skin and internal temp based on the Gets.
double IAnalyticTemperatureModifier.GetInternalTemperature |
( |
out bool |
lerp | ) |
|
Analytic will set the part's internal temperature to this (guaranteed to be called after SetAnalyticTemperature).
- Parameters
-
lerp | if false temp is set immediately, else normal lerp is used. |
- Returns
double IAnalyticTemperatureModifier.GetSkinTemperature |
( |
out bool |
lerp | ) |
|
Analytic will set the part's skin temperature to this (guaranteed to be called after SetAnalyticTemperature).
- Parameters
-
lerp | if false temp is set immediately, else normal lerp is used. |
- Returns
void IAnalyticTemperatureModifier.SetAnalyticTemperature |
( |
FlightIntegrator |
fi, |
|
|
double |
analyticTemp, |
|
|
double |
toBeInternal, |
|
|
double |
toBeSkin |
|
) |
| |
Analytic will run this once per part per tick, telling the part what the analytic temperature is and what it plans to set the internal and skin temperatures to. It is up to the implementor of this method to be prepared for the following Get calls and do whatever resource subtraction is involved in procuring for the part temperatures other than the toBe temperatures.
- Parameters
-
The documentation for this interface was generated from the following file: