#include <Weather.h>
Public 成员函数 | |
void | ApplyWeather (const FWeatherParameters &WeatherParameters) |
Update the weather parameters and notifies it to the blueprint's event | |
AWeather (const FObjectInitializer &ObjectInitializer) | |
const FWeatherParameters & | GetCurrentWeather () const |
Returns the current WeatherParameters | |
const bool & | GetDayNightCycle () const |
Returns whether the day night cycle is active (automatic on/off switch when changin to night mode) | |
void | NotifyWeather (ASensor *Sensor=nullptr) |
Notifing the weather to the blueprint's event | |
void | SetDayNightCycle (const bool &active) |
Update the day night cycle | |
void | SetWeather (const FWeatherParameters &WeatherParameters) |
Update the weather parameters without notifing it to the blueprint's event | |
Protected 成员函数 | |
void | RefreshWeather (const FWeatherParameters &WeatherParameters) |
Private 成员函数 | |
void | CheckWeatherPostProcessEffects () |
Private 属性 | |
TMap< UMaterial *, float > | ActiveBlendables |
bool | DayNightCycle = true |
UMaterial * | DustStormPostProcessMaterial |
UMaterial * | PrecipitationPostProcessMaterial |
FWeatherParameters | Weather |
AWeather::AWeather | ( | const FObjectInitializer & | ObjectInitializer | ) |
在文件 Weather.cpp 第 14 行定义.
引用了 DustStormPostProcessMaterial , 以及 PrecipitationPostProcessMaterial.
void AWeather::ApplyWeather | ( | const FWeatherParameters & | WeatherParameters | ) |
Update the weather parameters and notifies it to the blueprint's event
在文件 Weather.cpp 第 49 行定义.
引用了 CheckWeatherPostProcessEffects(), FWeatherParameters::Cloudiness, FWeatherParameters::DustStorm, FWeatherParameters::FogDensity, FWeatherParameters::FogDistance, FWeatherParameters::FogFalloff, FWeatherParameters::MieScatteringScale, FWeatherParameters::Precipitation, FWeatherParameters::PrecipitationDeposits, FWeatherParameters::RayleighScatteringScale, RefreshWeather(), FWeatherParameters::ScatteringIntensity, SetWeather(), FWeatherParameters::SunAltitudeAngle, FWeatherParameters::SunAzimuthAngle, Weather, FWeatherParameters::Wetness , 以及 FWeatherParameters::WindIntensity.
被这些函数引用 ACarlaGameModeBase::BeginPlay().
|
private |
在文件 Weather.cpp 第 27 行定义.
引用了 ActiveBlendables, FWeatherParameters::DustStorm, DustStormPostProcessMaterial, ASceneCaptureSensor::GetCaptureComponent2D(), FWeatherParameters::Precipitation, PrecipitationPostProcessMaterial , 以及 Weather.
被这些函数引用 ApplyWeather() , 以及 NotifyWeather().
|
inline |
|
inline |
void AWeather::NotifyWeather | ( | ASensor * | Sensor = nullptr | ) |
Notifing the weather to the blueprint's event
在文件 Weather.cpp 第 76 行定义.
引用了 CheckWeatherPostProcessEffects(), RefreshWeather() , 以及 Weather.
被这些函数引用 ASceneCaptureSensor::BeginPlay().
|
protected |
void AWeather::SetDayNightCycle | ( | const bool & | active | ) |
void AWeather::SetWeather | ( | const FWeatherParameters & | WeatherParameters | ) |
Update the weather parameters without notifing it to the blueprint's event
在文件 Weather.cpp 第 84 行定义.
引用了 Weather.
被这些函数引用 ApplyWeather().
|
private |
被这些函数引用 CheckWeatherPostProcessEffects().
|
private |
被这些函数引用 SetDayNightCycle().
|
private |
被这些函数引用 AWeather() , 以及 CheckWeatherPostProcessEffects().
|
private |
被这些函数引用 AWeather() , 以及 CheckWeatherPostProcessEffects().
|
private |
被这些函数引用 ApplyWeather(), CheckWeatherPostProcessEffects(), NotifyWeather() , 以及 SetWeather().