CARLA
Macros | Enumerations
CarlaLight.h File Reference
#include <compiler/disable-ue4-macros.h>
#include <carla/rpc/LightState.h>
#include <compiler/enable-ue4-macros.h>
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "CarlaLight.generated.h"
+ Include dependency graph for CarlaLight.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CARLA_ENUM_FROM_RPC(e)   static_cast<uint8>(carla::rpc::LightState::LightGroup:: e)
 

Enumerations

enum  ELightType : uint8 {
  ELightType::Null = 0, ELightType::Vehicle = CARLA_ENUM_FROM_RPC(Vehicle) UMETA(DisplayName = "Vehicle"), ELightType::Street = CARLA_ENUM_FROM_RPC(Street) UMETA(DisplayName = "Street"), ELightType::Building = CARLA_ENUM_FROM_RPC(Building) UMETA(DisplayName = "Building"),
  ELightType::Other = CARLA_ENUM_FROM_RPC(Other) UMETA(DisplayName = "Other")
}
 

Macro Definition Documentation

◆ CARLA_ENUM_FROM_RPC

#define CARLA_ENUM_FROM_RPC (   e)    static_cast<uint8>(carla::rpc::LightState::LightGroup:: e)

Definition at line 19 of file CarlaLight.h.

Enumeration Type Documentation

◆ ELightType

enum ELightType : uint8
strong
Enumerator
Null 
Vehicle 
Street 
Building 
Other 

Definition at line 22 of file CarlaLight.h.