CARLA
Public Types | Public Member Functions | Public Attributes | List of all members
carla::client::LightState Struct Reference

#include <LightState.h>

+ Collaboration diagram for carla::client::LightState:

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
 

Detailed Description

Definition at line 18 of file client/LightState.h.

Member Typedef Documentation

◆ LightGroup

Definition at line 20 of file client/LightState.h.

Constructor & Destructor Documentation

◆ LightState() [1/2]

carla::client::LightState::LightState ( )
inline

Definition at line 22 of file client/LightState.h.

◆ LightState() [2/2]

carla::client::LightState::LightState ( float  intensity,
Color  color,
LightGroup  group,
bool  active 
)
inline

Definition at line 24 of file client/LightState.h.

Member Function Documentation

◆ Reset()

void carla::client::LightState::Reset ( void  )
inline

Member Data Documentation

◆ _active

bool carla::client::LightState::_active = false

◆ _color

Color carla::client::LightState::_color

◆ _group

LightGroup carla::client::LightState::_group = LightGroup::None

◆ _intensity

float carla::client::LightState::_intensity = 0.0f

The documentation for this struct was generated from the following file: