#include <WeatherParameters.h>
Public Member Functions | |
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) | |
bool | operator!= (const WeatherParameters &rhs) const |
bool | operator== (const WeatherParameters &rhs) const |
WeatherParameters ()=default | |
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 Attributes | |
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 |
Static Public Attributes | |
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 } |
Definition at line 20 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
default |
|
inline |
Definition at line 54 of file LibCarla/source/carla/rpc/WeatherParameters.h.
carla::rpc::WeatherParameters::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 | |||
) |
|
inline |
Definition at line 138 of file LibCarla/source/carla/rpc/WeatherParameters.h.
References cloudiness, dust_storm, fog_density, fog_distance, fog_falloff, mie_scattering_scale, precipitation, precipitation_deposits, rayleigh_scattering_scale, scattering_intensity, sun_altitude_angle, sun_azimuth_angle, wetness, and wind_intensity.
|
inline |
Definition at line 156 of file LibCarla/source/carla/rpc/WeatherParameters.h.
References MSGPACK_DEFINE_ARRAY().
|
static |
Definition at line 41 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 27 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 34 of file LibCarla/source/carla/rpc/WeatherParameters.h.
float carla::rpc::WeatherParameters::cloudiness = 0.0f |
Definition at line 84 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=().
|
static |
Definition at line 42 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 28 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 35 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 26 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by ACarlaGameModeBase::BeginPlay().
float carla::rpc::WeatherParameters::dust_storm = 0.0f |
Definition at line 97 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=().
|
static |
Definition at line 48 of file LibCarla/source/carla/rpc/WeatherParameters.h.
float carla::rpc::WeatherParameters::fog_density = 0.0f |
Definition at line 90 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=(), and carla::traffic_manager::VehicleLightStage::Update().
float carla::rpc::WeatherParameters::fog_distance = 0.0f |
Definition at line 91 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=().
float carla::rpc::WeatherParameters::fog_falloff = 0.0f |
Definition at line 92 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=().
|
static |
Definition at line 47 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 32 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 39 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 38 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 46 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 31 of file LibCarla/source/carla/rpc/WeatherParameters.h.
float carla::rpc::WeatherParameters::mie_scattering_scale = 0.0f |
Definition at line 95 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=().
float carla::rpc::WeatherParameters::precipitation = 0.0f |
Definition at line 85 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=(), and carla::traffic_manager::VehicleLightStage::Update().
float carla::rpc::WeatherParameters::precipitation_deposits = 0.0f |
Definition at line 86 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=().
float carla::rpc::WeatherParameters::rayleigh_scattering_scale = 0.0331f |
Definition at line 96 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=().
float carla::rpc::WeatherParameters::scattering_intensity = 0.0f |
Definition at line 94 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=().
|
static |
Definition at line 45 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 33 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 40 of file LibCarla/source/carla/rpc/WeatherParameters.h.
float carla::rpc::WeatherParameters::sun_altitude_angle = 0.0f |
Definition at line 89 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=(), and carla::traffic_manager::VehicleLightStage::Update().
float carla::rpc::WeatherParameters::sun_azimuth_angle = 0.0f |
Definition at line 88 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=().
|
static |
Definition at line 44 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 30 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 37 of file LibCarla/source/carla/rpc/WeatherParameters.h.
float carla::rpc::WeatherParameters::wetness = 0.0f |
Definition at line 93 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=().
|
static |
Definition at line 43 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 29 of file LibCarla/source/carla/rpc/WeatherParameters.h.
|
static |
Definition at line 36 of file LibCarla/source/carla/rpc/WeatherParameters.h.
float carla::rpc::WeatherParameters::wind_intensity = 0.0f |
Definition at line 87 of file LibCarla/source/carla/rpc/WeatherParameters.h.
Referenced by operator!=().