CARLA
Loading...
Searching...
No Matches
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Util/EnvironmentObject.h
Go to the documentation of this file.
1// Copyright (c) 2026 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
9
13
14#include "EnvironmentObject.generated.h"
15
16namespace crp = carla::rpc;
17
28
29// Name is under discussion
30USTRUCT(BlueprintType)
31struct CARLA_API FEnvironmentObject
32{
33 GENERATED_BODY()
34
35 // Weak: a World Partition cell can stream the actor out while it is listed.
36 TWeakObjectPtr<AActor> Actor;
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};