Use typed thermal curves in properties panel
This commit is contained in:
parent
0d286e095a
commit
66c4acf97d
159 changed files with 467 additions and 282 deletions
|
|
@ -45,7 +45,8 @@ internal static class AetheriaRuntimeCatalogSnapshotMapper
|
|||
item.WeaponFireTypes,
|
||||
item.WeaponModifiers,
|
||||
item.MinimumTemperature,
|
||||
item.MaximumTemperature);
|
||||
item.MaximumTemperature,
|
||||
item.ThermalPerformanceCurveKeys.Select(FromState).ToArray());
|
||||
}
|
||||
|
||||
private static AetheriaRuntimeShapeCell FromState(AetheriaShapeCell cell)
|
||||
|
|
@ -53,6 +54,11 @@ internal static class AetheriaRuntimeCatalogSnapshotMapper
|
|||
return new AetheriaRuntimeShapeCell(cell.X, cell.Y);
|
||||
}
|
||||
|
||||
private static AetheriaRuntimeCurveKey FromState(AetheriaCurveKey key)
|
||||
{
|
||||
return new AetheriaRuntimeCurveKey(key.Time, key.Value, key.InTangent, key.OutTangent);
|
||||
}
|
||||
|
||||
private static AetheriaRuntimeBehaviorPayload FromState(AetheriaBehaviorPayload payload)
|
||||
{
|
||||
return new AetheriaRuntimeBehaviorPayload(
|
||||
|
|
|
|||
Loading…
Reference in a new issue