CARLA
 
载入中...
搜索中...
未找到
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h
浏览该文件的文档.
1// Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6#pragma once
7
12
13#include "BoundingBox.h"
14
15#include "EnvironmentObject.generated.h"
16
17namespace crp = carla::rpc;
18
29
30// Name is under discussion
31USTRUCT(BlueprintType)
32struct CARLA_API FEnvironmentObject
33{
34 GENERATED_BODY()
35
36 AActor* Actor = nullptr;
37
38 UPROPERTY(EditAnywhere, BlueprintReadWrite)
39 FString Name;
40
41 UPROPERTY(EditAnywhere, BlueprintReadWrite)
42 FString IdStr;
43
44 UPROPERTY(EditAnywhere, BlueprintReadWrite)
45 FTransform Transform;
46
47 UPROPERTY(EditAnywhere, BlueprintReadWrite)
49
50 uint64 Id = 0;
51
53
54 crp::CityObjectLabel ObjectLabel;
55
56 bool CanTick = false;
57};