CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
carla::rpc::WeatherParameters类 参考

#include <WeatherParameters.h>

+ carla::rpc::WeatherParameters 的协作图:

Public 成员函数

 MSGPACK_DEFINE_ARRAY (cloudiness, precipitation, precipitation_deposits, wind_intensity, sun_azimuth_angle, sun_altitude_angle, fog_density, fog_distance, fog_falloff, wetness, scattering_intensity, mie_scattering_scale, rayleigh_scattering_scale, dust_storm)
 
 operator FWeatherParameters () const
 
bool operator!= (const WeatherParameters &rhs) const
 
bool operator== (const WeatherParameters &rhs) const
 
 WeatherParameters ()=default
 
 WeatherParameters (const FWeatherParameters &Weather)
 
 WeatherParameters (float in_cloudiness, float in_precipitation, float in_precipitation_deposits, float in_wind_intensity, float in_sun_azimuth_angle, float in_sun_altitude_angle, float in_fog_density, float in_fog_distance, float in_fog_falloff, float in_wetness, float in_scattering_intensity, float in_mie_scattering_scale, float in_rayleigh_scattering_scale, float in_dust_storm)
 

Public 属性

float cloudiness = 0.0f
 
float dust_storm = 0.0f
 
float fog_density = 0.0f
 
float fog_distance = 0.0f
 
float fog_falloff = 0.0f
 
float mie_scattering_scale = 0.0f
 
float precipitation = 0.0f
 
float precipitation_deposits = 0.0f
 
float rayleigh_scattering_scale = 0.0331f
 
float scattering_intensity = 0.0f
 
float sun_altitude_angle = 0.0f
 
float sun_azimuth_angle = 0.0f
 
float wetness = 0.0f
 
float wind_intensity = 0.0f
 

静态 Public 属性

Weather presets
static WeatherParameters Default = { -1.0f, -1.0f, -1.0f, -1.00f, -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters ClearNoon = { 5.0f, 0.0f, 0.0f, 10.0f, -1.0f, 45.0f, 2.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters CloudyNoon = { 60.0f, 0.0f, 0.0f, 10.0f, -1.0f, 45.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters WetNoon = { 5.0f, 0.0f, 50.0f, 10.0f, -1.0f, 45.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters WetCloudyNoon = { 60.0f, 0.0f, 50.0f, 10.0f, -1.0f, 45.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters MidRainyNoon = { 60.0f, 60.0f, 60.0f, 60.0f, -1.0f, 45.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters HardRainNoon = { 100.0f, 100.0f, 90.0f, 100.0f, -1.0f, 45.0f, 7.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters SoftRainNoon = { 20.0f, 30.0f, 50.0f, 30.0f, -1.0f, 45.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters ClearSunset = { 5.0f, 0.0f, 0.0f, 10.0f, -1.0f, 15.0f, 2.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters CloudySunset = { 60.0f, 0.0f, 0.0f, 10.0f, -1.0f, 15.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters WetSunset = { 5.0f, 0.0f, 50.0f, 10.0f, -1.0f, 15.0f, 2.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters WetCloudySunset = { 60.0f, 0.0f, 50.0f, 10.0f, -1.0f, 15.0f, 2.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters MidRainSunset = { 60.0f, 60.0f, 60.0f, 60.0f, -1.0f, 15.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters HardRainSunset = { 100.0f, 100.0f, 90.0f, 100.0f, -1.0f, 15.0f, 7.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters SoftRainSunset = { 20.0f, 30.0f, 50.0f, 30.0f, -1.0f, 15.0f, 2.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters ClearNight = { 5.0f, 0.0f, 0.0f, 10.0f, -1.0f, -90.0f, 60.0f, 75.0f, 1.0f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters CloudyNight = { 60.0f, 0.0f, 0.0f, 10.0f, -1.0f, -90.0f, 60.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters WetNight = { 5.0f, 0.0f, 50.0f, 10.0f, -1.0f, -90.0f, 60.0f, 75.0f, 1.0f, 60.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters WetCloudyNight = { 60.0f, 0.0f, 50.0f, 10.0f, -1.0f, -90.0f, 60.0f, 0.75f, 0.1f, 60.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters SoftRainNight = { 60.0f, 30.0f, 50.0f, 30.0f, -1.0f, -90.0f, 60.0f, 0.75f, 0.1f, 60.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters MidRainyNight = { 80.0f, 60.0f, 60.0f, 60.0f, -1.0f, -90.0f, 60.0f, 0.75f, 0.1f, 80.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters HardRainNight = { 100.0f, 100.0f, 90.0f, 100.0f, -1.0f, -90.0f, 100.0f, 0.75f, 0.1f, 100.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
 
static WeatherParameters DustStorm = { 100.0f, 0.0f, 0.0f, 100.0f, -1.0f, 45.0f, 2.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 100.0f }
 

详细描述

在文件 LibCarla/source/carla/rpc/WeatherParameters.h20 行定义.

构造及析构函数说明

◆ WeatherParameters() [1/3]

carla::rpc::WeatherParameters::WeatherParameters ( )
default

◆ WeatherParameters() [2/3]

carla::rpc::WeatherParameters::WeatherParameters ( float in_cloudiness,
float in_precipitation,
float in_precipitation_deposits,
float in_wind_intensity,
float in_sun_azimuth_angle,
float in_sun_altitude_angle,
float in_fog_density,
float in_fog_distance,
float in_fog_falloff,
float in_wetness,
float in_scattering_intensity,
float in_mie_scattering_scale,
float in_rayleigh_scattering_scale,
float in_dust_storm )
inline

◆ WeatherParameters() [3/3]

carla::rpc::WeatherParameters::WeatherParameters ( const FWeatherParameters & Weather)
inline

成员函数说明

◆ MSGPACK_DEFINE_ARRAY()

◆ operator FWeatherParameters()

carla::rpc::WeatherParameters::operator FWeatherParameters ( ) const
inline

◆ operator!=()

bool carla::rpc::WeatherParameters::operator!= ( const WeatherParameters & rhs) const
inline

◆ operator==()

bool carla::rpc::WeatherParameters::operator== ( const WeatherParameters & rhs) const
inline

类成员变量说明

◆ ClearNight

WP carla::rpc::WP::ClearNight = { 5.0f, 0.0f, 0.0f, 10.0f, -1.0f, -90.0f, 60.0f, 75.0f, 1.0f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ ClearNoon

WP carla::rpc::WP::ClearNoon = { 5.0f, 0.0f, 0.0f, 10.0f, -1.0f, 45.0f, 2.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ ClearSunset

WP carla::rpc::WP::ClearSunset = { 5.0f, 0.0f, 0.0f, 10.0f, -1.0f, 15.0f, 2.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ cloudiness

float carla::rpc::WeatherParameters::cloudiness = 0.0f

在文件 LibCarla/source/carla/rpc/WeatherParameters.h84 行定义.

被这些函数引用 operator FWeatherParameters() , 以及 operator!=().

◆ CloudyNight

WP carla::rpc::WP::CloudyNight = { 60.0f, 0.0f, 0.0f, 10.0f, -1.0f, -90.0f, 60.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ CloudyNoon

WP carla::rpc::WP::CloudyNoon = { 60.0f, 0.0f, 0.0f, 10.0f, -1.0f, 45.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ CloudySunset

WP carla::rpc::WP::CloudySunset = { 60.0f, 0.0f, 0.0f, 10.0f, -1.0f, 15.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ Default

WP carla::rpc::WP::Default = { -1.0f, -1.0f, -1.0f, -1.00f, -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

在文件 LibCarla/source/carla/rpc/WeatherParameters.h26 行定义.

被这些函数引用 ACarlaGameModeBase::BeginPlay().

◆ dust_storm

float carla::rpc::WeatherParameters::dust_storm = 0.0f

在文件 LibCarla/source/carla/rpc/WeatherParameters.h97 行定义.

被这些函数引用 operator FWeatherParameters() , 以及 operator!=().

◆ DustStorm

WP carla::rpc::WP::DustStorm = { 100.0f, 0.0f, 0.0f, 100.0f, -1.0f, 45.0f, 2.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 100.0f }
static

◆ fog_density

float carla::rpc::WeatherParameters::fog_density = 0.0f

◆ fog_distance

float carla::rpc::WeatherParameters::fog_distance = 0.0f

在文件 LibCarla/source/carla/rpc/WeatherParameters.h91 行定义.

被这些函数引用 operator FWeatherParameters() , 以及 operator!=().

◆ fog_falloff

float carla::rpc::WeatherParameters::fog_falloff = 0.0f

在文件 LibCarla/source/carla/rpc/WeatherParameters.h92 行定义.

被这些函数引用 operator FWeatherParameters() , 以及 operator!=().

◆ HardRainNight

WP carla::rpc::WP::HardRainNight = { 100.0f, 100.0f, 90.0f, 100.0f, -1.0f, -90.0f, 100.0f, 0.75f, 0.1f, 100.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ HardRainNoon

WP carla::rpc::WP::HardRainNoon = { 100.0f, 100.0f, 90.0f, 100.0f, -1.0f, 45.0f, 7.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ HardRainSunset

WP carla::rpc::WP::HardRainSunset = { 100.0f, 100.0f, 90.0f, 100.0f, -1.0f, 15.0f, 7.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ MidRainSunset

WP carla::rpc::WP::MidRainSunset = { 60.0f, 60.0f, 60.0f, 60.0f, -1.0f, 15.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ MidRainyNight

WP carla::rpc::WP::MidRainyNight = { 80.0f, 60.0f, 60.0f, 60.0f, -1.0f, -90.0f, 60.0f, 0.75f, 0.1f, 80.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ MidRainyNoon

WP carla::rpc::WP::MidRainyNoon = { 60.0f, 60.0f, 60.0f, 60.0f, -1.0f, 45.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ mie_scattering_scale

float carla::rpc::WeatherParameters::mie_scattering_scale = 0.0f

在文件 LibCarla/source/carla/rpc/WeatherParameters.h95 行定义.

被这些函数引用 operator FWeatherParameters() , 以及 operator!=().

◆ precipitation

float carla::rpc::WeatherParameters::precipitation = 0.0f

◆ precipitation_deposits

float carla::rpc::WeatherParameters::precipitation_deposits = 0.0f

在文件 LibCarla/source/carla/rpc/WeatherParameters.h86 行定义.

被这些函数引用 operator FWeatherParameters() , 以及 operator!=().

◆ rayleigh_scattering_scale

float carla::rpc::WeatherParameters::rayleigh_scattering_scale = 0.0331f

在文件 LibCarla/source/carla/rpc/WeatherParameters.h96 行定义.

被这些函数引用 operator FWeatherParameters() , 以及 operator!=().

◆ scattering_intensity

float carla::rpc::WeatherParameters::scattering_intensity = 0.0f

在文件 LibCarla/source/carla/rpc/WeatherParameters.h94 行定义.

被这些函数引用 operator FWeatherParameters() , 以及 operator!=().

◆ SoftRainNight

WP carla::rpc::WP::SoftRainNight = { 60.0f, 30.0f, 50.0f, 30.0f, -1.0f, -90.0f, 60.0f, 0.75f, 0.1f, 60.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ SoftRainNoon

WP carla::rpc::WP::SoftRainNoon = { 20.0f, 30.0f, 50.0f, 30.0f, -1.0f, 45.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ SoftRainSunset

WP carla::rpc::WP::SoftRainSunset = { 20.0f, 30.0f, 50.0f, 30.0f, -1.0f, 15.0f, 2.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ sun_altitude_angle

float carla::rpc::WeatherParameters::sun_altitude_angle = 0.0f

◆ sun_azimuth_angle

float carla::rpc::WeatherParameters::sun_azimuth_angle = 0.0f

在文件 LibCarla/source/carla/rpc/WeatherParameters.h88 行定义.

被这些函数引用 operator FWeatherParameters() , 以及 operator!=().

◆ WetCloudyNight

WP carla::rpc::WP::WetCloudyNight = { 60.0f, 0.0f, 50.0f, 10.0f, -1.0f, -90.0f, 60.0f, 0.75f, 0.1f, 60.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ WetCloudyNoon

WP carla::rpc::WP::WetCloudyNoon = { 60.0f, 0.0f, 50.0f, 10.0f, -1.0f, 45.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ WetCloudySunset

WP carla::rpc::WP::WetCloudySunset = { 60.0f, 0.0f, 50.0f, 10.0f, -1.0f, 15.0f, 2.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ wetness

float carla::rpc::WeatherParameters::wetness = 0.0f

在文件 LibCarla/source/carla/rpc/WeatherParameters.h93 行定义.

被这些函数引用 operator FWeatherParameters() , 以及 operator!=().

◆ WetNight

WP carla::rpc::WP::WetNight = { 5.0f, 0.0f, 50.0f, 10.0f, -1.0f, -90.0f, 60.0f, 75.0f, 1.0f, 60.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ WetNoon

WP carla::rpc::WP::WetNoon = { 5.0f, 0.0f, 50.0f, 10.0f, -1.0f, 45.0f, 3.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ WetSunset

WP carla::rpc::WP::WetSunset = { 5.0f, 0.0f, 50.0f, 10.0f, -1.0f, 15.0f, 2.0f, 0.75f, 0.1f, 0.0f, 1.0f, 0.03f, 0.0331f, 0.0f }
static

◆ wind_intensity

float carla::rpc::WeatherParameters::wind_intensity = 0.0f

在文件 LibCarla/source/carla/rpc/WeatherParameters.h87 行定义.

被这些函数引用 operator FWeatherParameters() , 以及 operator!=().


该类的文档由以下文件生成: