11 : Super(ObjectInitializer)
13 PrimaryActorTick.bCanEverTick =
false;
14 RootComponent = ObjectInitializer.CreateDefaultSubobject<USceneComponent>(
this, TEXT(
"RootComponent"));
21 #ifdef CARLA_WEATHER_EXTRA_LOG 22 UE_LOG(LogCarla, Log, TEXT(
"Changing weather:"));
36 #endif // CARLA_WEATHER_EXTRA_LOG void RefreshWeather(const FWeatherParameters &WeatherParameters)
float ScatteringIntensity
void SetDayNightCycle(const bool &active)
Update the day night cycle.
void NotifyWeather()
Notifing the weather to the blueprint's event.
FWeatherParameters Weather
AWeather(const FObjectInitializer &ObjectInitializer)
void SetWeather(const FWeatherParameters &WeatherParameters)
Update the weather parameters without notifing it to the blueprint's event.
float PrecipitationDeposits
void ApplyWeather(const FWeatherParameters &WeatherParameters)
Update the weather parameters and notifies it to the blueprint's event.
float RayleighScatteringScale