CARLA
载入中...
搜索中...
未找到
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Actor
PropParameters.h
浏览该文件的文档.
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
EPropSize
Definition
PropParameters.h:15
EPropSize::UMETA
@ UMETA
EVehicleInputPriority::INVALID
@ INVALID
FPropParameters
Definition
PropParameters.h:29
制作者
1.10.0