Map provider weather inputs
This commit is contained in:
@@ -52,6 +52,9 @@ public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadOnly, Replicated, Category = "Agrarian|World|Temperature")
|
||||
FString RegionalWeatherSource = TEXT("deterministic_tile_curve");
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadOnly, Replicated, Category = "Agrarian|World|Weather")
|
||||
FAgrarianMappedWeatherInputs ActiveWeatherInputs;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadOnly, Replicated, Category = "Agrarian|World|Tile Solar")
|
||||
FName ActiveSolarTileId = TEXT("gz_us_ca_pacifica_utm10n_e544_n4160");
|
||||
|
||||
@@ -103,6 +106,9 @@ public:
|
||||
UFUNCTION(BlueprintCallable, Category = "Agrarian|World|Temperature")
|
||||
void SetRegionalObservedTemperature(float ObservedTemperatureC, float BlendWeight, const FString& WeatherSource);
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category = "Agrarian|World|Weather")
|
||||
void ApplyMappedWeatherInputs(const FAgrarianMappedWeatherInputs& MappedInputs);
|
||||
|
||||
UFUNCTION(BlueprintPure, Category = "Agrarian|World|Temperature")
|
||||
float GetClearSkyTemperatureForHour(float HourOfDay) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user