CARLA
载入中...
搜索中...
未找到
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
AI
AIControllerFactory.h
浏览该文件的文档.
1
// Copyright (c) 2019 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 "
Carla/Actor/ActorSpawnResult.h
"
10
#include "
Carla/Actor/CarlaActorFactory.h
"
11
12
#include "AIControllerFactory.generated.h"
13
14
/// Factory in charge of spawning AI Controllers.
15
UCLASS()
16
class CARLA_API
AAIControllerFactory
final : public
ACarlaActorFactory
17
{
18
GENERATED_BODY()
19
20
TArray<FActorDefinition> GetDefinitions()
final
;
21
22
FActorSpawnResult
SpawnActor(
23
const
FTransform &SpawnAtTransform,
24
const
FActorDescription
&ActorDescription)
final
;
25
};
ActorSpawnResult.h
CarlaActorFactory.h
AAIControllerFactory
Factory in charge of spawning AI Controllers.
Definition
AIControllerFactory.h:17
ACarlaActorFactory
Base class for Carla actor factories.
Definition
CarlaActorFactory.h:21
FActorDescription
A description of a Carla Actor with all its variation.
Definition
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Actor/ActorDescription.h:16
FActorSpawnResult
Result of an actor spawn function.
Definition
ActorSpawnResult.h:26
制作者
1.10.0