CARLA
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Actor/ActorDescription.h
Go to the documentation of this file.
1 // Copyright (c) 2017 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 
10 
11 #include "ActorDescription.generated.h"
12 
13 /// A description of a Carla Actor with all its variation.
14 USTRUCT(BlueprintType)
16 {
17  GENERATED_BODY()
18 
19  /// UId of the definition in which this description was based.
20  uint32 UId = 0u;
21 
22  /// Display ID that identifies the actor.
23  UPROPERTY(EditAnywhere, BlueprintReadWrite)
24  FString Id;
25 
26  /// Class of the actor to be spawned.
27  UPROPERTY(EditAnywhere, BlueprintReadWrite)
28  TSubclassOf<AActor> Class;
29 
30  /// User selected variations of the actor. Note that at this point are
31  /// represented by non-modifiable attributes.
32  ///
33  /// Key: Id of the attribute.
34  /// Value: The attribute.
35  UPROPERTY(EditAnywhere, BlueprintReadWrite)
36  TMap<FString, FActorAttribute> Variations;
37 };
A description of a Carla Actor with all its variation.
An actor attribute, may be an intrinsic (non-modifiable) attribute of the actor or an user-defined ac...