CARLA
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Actor
UtilActorFactory.h
Go to the documentation of this file.
1
// Copyright (c) 2023 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 "UtilActorFactory.generated.h"
13
14
/// Factory in charge of spawning static meshes. This factory is able to spawn
15
/// any mesh in content.
16
UCLASS()
17
class CARLA_API
AUtilActorFactory
: public
ACarlaActorFactory
18
{
19
GENERATED_BODY()
20
21
/// Retrieve the definitions of the static mesh actor
22
TArray<FActorDefinition> GetDefinitions()
final
;
23
24
FActorSpawnResult
SpawnActor(
25
const
FTransform &SpawnAtTransform,
26
const
FActorDescription
&ActorDescription)
final
;
27
};
ACarlaActorFactory
Base class for Carla actor factories.
Definition:
CarlaActorFactory.h:20
ActorSpawnResult.h
AUtilActorFactory
Factory in charge of spawning static meshes.
Definition:
UtilActorFactory.h:17
CarlaActorFactory.h
FActorDescription
A description of a Carla Actor with all its variation.
Definition:
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Actor/ActorDescription.h:15
FActorSpawnResult
Result of an actor spawn function.
Definition:
ActorSpawnResult.h:25
Generated by
1.8.13