CARLA
PedestrianParameters.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 "GameFramework/Character.h"
10 
11 #include "PedestrianParameters.generated.h"
12 
13 UENUM(BlueprintType)
14 enum class EPedestrianGender : uint8
15 {
16  Other UMETA(DisplayName = "Other"),
17  Female UMETA(DisplayName = "Female"),
18  Male UMETA(DisplayName = "Male"),
19 
20  SIZE UMETA(Hidden),
21  INVALID UMETA(Hidden)
22 };
23 
24 UENUM(BlueprintType)
25 enum class EPedestrianAge : uint8
26 {
27  Child UMETA(DisplayName = "Child"),
28  Teenager UMETA(DisplayName = "Teenager"),
29  Adult UMETA(DisplayName = "Adult"),
30  Elderly UMETA(DisplayName = "Elderly"),
31 
32  SIZE UMETA(Hidden),
33  INVALID UMETA(Hidden)
34 };
35 
36 USTRUCT(BlueprintType)
37 struct CARLA_API FPedestrianParameters
38 {
39  GENERATED_BODY()
40 
41  UPROPERTY(EditAnywhere, BlueprintReadWrite)
42  FString Id;
43 
44  UPROPERTY(EditAnywhere, BlueprintReadWrite)
45  TSubclassOf<ACharacter> Class;
46 
47  UPROPERTY(EditAnywhere, BlueprintReadWrite)
49 
50  UPROPERTY(EditAnywhere, BlueprintReadWrite)
52 
53  UPROPERTY(EditAnywhere, BlueprintReadWrite)
54  TArray<float> Speed;
55 
56  UPROPERTY(EditAnywhere, BlueprintReadWrite)
57  int32 Generation = 0;
58 };
EPedestrianGender
static const FString SIZE
EPedestrianAge