#include <LightState.h>
Public Types | |
using | LightGroup = rpc::LightState::LightGroup |
Public Member Functions | |
LightState () | |
LightState (float intensity, Color color, LightGroup group, bool active) | |
void | Reset () |
Public Attributes | |
bool | _active = false |
Color | _color |
LightGroup | _group = LightGroup::None |
float | _intensity = 0.0f |
Definition at line 18 of file client/LightState.h.
Definition at line 20 of file client/LightState.h.
|
inline |
Definition at line 22 of file client/LightState.h.
|
inline |
Definition at line 24 of file client/LightState.h.
|
inline |
Definition at line 34 of file client/LightState.h.
References _active, _color, _group, _intensity, carla::sensor::data::Color::b, carla::sensor::data::Color::g, carla::rpc::LightState::None, and carla::sensor::data::Color::r.
bool carla::client::LightState::_active = false |
Definition at line 46 of file client/LightState.h.
Referenced by carla::client::LightManager::GetTurnedOffLights(), carla::client::LightManager::GetTurnedOnLights(), carla::client::LightManager::IsActive(), Reset(), and carla::client::LightManager::SetActive().
Color carla::client::LightState::_color |
Definition at line 44 of file client/LightState.h.
Referenced by carla::client::LightManager::GetColor(), Reset(), and carla::client::LightManager::SetColor().
LightGroup carla::client::LightState::_group = LightGroup::None |
Definition at line 45 of file client/LightState.h.
Referenced by carla::client::LightManager::GetLightGroup(), carla::client::LightManager::GetTurnedOffLights(), carla::client::LightManager::GetTurnedOnLights(), Reset(), and carla::client::LightManager::SetLightGroup().
float carla::client::LightState::_intensity = 0.0f |
Definition at line 43 of file client/LightState.h.
Referenced by carla::client::LightManager::GetIntensity(), Reset(), and carla::client::LightManager::SetIntensity().