#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"
宏定义 | |
#define | CARLA_ENUM_FROM_RPC(e) static_cast<uint8>(carla::rpc::LightState::LightGroup:: e) |
枚举 | |
enum class | ELightType : uint8 { Null = 0 , Vehicle = CARLA_ENUM_FROM_RPC(Vehicle) UMETA(DisplayName = "Vehicle") , Street = CARLA_ENUM_FROM_RPC(Street) UMETA(DisplayName = "Street") , Building = CARLA_ENUM_FROM_RPC(Building) UMETA(DisplayName = "Building") , Other = CARLA_ENUM_FROM_RPC(Other) UMETA(DisplayName = "Other") } |
#define CARLA_ENUM_FROM_RPC | ( | e | ) | static_cast<uint8>(carla::rpc::LightState::LightGroup:: e) |
在文件 CarlaLight.h 第 19 行定义.
|
strong |
枚举值 | |
---|---|
Null | |
Vehicle | |
Street | |
Building | |
Other |
在文件 CarlaLight.h 第 22 行定义.