CARLA
载入中...
搜索中...
未找到
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Traffic
TrafficLightInterface.h
浏览该文件的文档.
1
// Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma
2
// de Barcelona (UAB).
3
//
4
// This work is licensed under the terms of the MIT license.
5
// For a copy, see <https://opensource.org/licenses/MIT>.
6
7
#pragma once
8
9
#include "CoreMinimal.h"
10
#include "
Object.h
"
11
#include "
TrafficLightState.h
"
12
#include "TrafficLightInterface.generated.h"
13
14
UINTERFACE(BlueprintType)
15
class CARLA_API
UTrafficLightInterface
: public
UInterface
16
{
17
GENERATED_BODY()
18
};
19
20
class
ITrafficLightInterface
21
{
22
GENERATED_BODY()
23
24
public
:
25
UFUNCTION(BlueprintImplementableEvent, BlueprintCallable, Category =
"Traffic Light Interface"
)
26
void
LightChanged
(
ETrafficLightState
NewLightState);
27
};
Object.h
TrafficLightState.h
ETrafficLightState
ETrafficLightState
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/TrafficLightState.h:13
ITrafficLightInterface
Definition
TrafficLightInterface.h:21
ITrafficLightInterface::LightChanged
void LightChanged(ETrafficLightState NewLightState)
UInterface
UTrafficLightInterface
Definition
TrafficLightInterface.h:16
制作者
1.10.0