9#include "GameFramework/Actor.h"
13#include "Weather.generated.h"
25 AWeather(
const FObjectInitializer& ObjectInitializer);
28 UFUNCTION(BlueprintCallable)
32 void NotifyWeather(
ASensor* Sensor =
nullptr);
35 UFUNCTION(BlueprintCallable)
39 UFUNCTION(BlueprintCallable)
46 UFUNCTION(BlueprintCallable)
47 const
bool &GetDayNightCycle()
const
53 void SetDayNightCycle(
const bool &active);
57 UFUNCTION(BlueprintImplementableEvent)
65 void CheckWeatherPostProcessEffects();
69 UPROPERTY(VisibleAnywhere)
73 UMaterial* PrecipitationPostProcessMaterial;
76 UMaterial* DustStormPostProcessMaterial;
81 TMap<UMaterial*,
float> ActiveBlendables;
83 UPROPERTY(EditAnywhere, Category = "Weather")