9 #include "GameFramework/Actor.h" 12 #include "Weather.generated.h" 24 AWeather(
const FObjectInitializer& ObjectInitializer);
27 UFUNCTION(BlueprintCallable)
31 void NotifyWeather(
ASensor* Sensor =
nullptr);
34 UFUNCTION(BlueprintCallable)
38 UFUNCTION(BlueprintCallable)
45 UFUNCTION(BlueprintCallable)
46 const
bool &GetDayNightCycle()
const 52 void SetDayNightCycle(
const bool &active);
56 UFUNCTION(BlueprintImplementableEvent)
61 void CheckWeatherPostProcessEffects();
63 UPROPERTY(VisibleAnywhere)
66 UMaterial* PrecipitationPostProcessMaterial;
68 UMaterial* DustStormPostProcessMaterial;
70 TMap<UMaterial*,
float> ActiveBlendables;
72 UPROPERTY(EditAnywhere, Category = "Weather")
73 bool DayNightCycle = true;
A sensor that captures images from the scene.