CARLA
PropParameters.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 
9 #include "Engine/StaticMesh.h"
10 
11 #include "PropParameters.generated.h"
12 
13 UENUM(BlueprintType)
14 enum class EPropSize : uint8
15 {
16 
17  Tiny UMETA(DisplayName = "Tiny", ToolTip = "Smaller than a mailbox"),
18  Small UMETA(DisplayName = "Small", ToolTip = "Size of a mailbox"),
19  Medium UMETA(DisplayName = "Medium", ToolTip = "Size of a human"),
20  Big UMETA(DisplayName = "Big", ToolTip = "Size of a bus stop"),
21  Huge UMETA(DisplayName = "Huge", ToolTip = "Size of a house or bigger"),
22 
23  SIZE UMETA(Hidden),
24  INVALID UMETA(DisplayName = "INVALID")
25 };
26 
27 USTRUCT(BlueprintType)
28 struct CARLA_API FPropParameters
29 {
30  GENERATED_BODY()
31 
32  UPROPERTY(EditAnywhere, BlueprintReadWrite)
33  FString Name;
34 
35  UPROPERTY(EditAnywhere, BlueprintReadWrite)
36  UStaticMesh *Mesh;
37 
38  UPROPERTY(EditAnywhere, BlueprintReadWrite)
39  EPropSize Size = EPropSize::INVALID;
40 };
EPropSize
static const FString SIZE