CARLA
Private Member Functions | List of all members
AUtilActorFactory Class Reference

Factory in charge of spawning static meshes. More...

#include <UtilActorFactory.h>

+ Inheritance diagram for AUtilActorFactory:
+ Collaboration diagram for AUtilActorFactory:

Private Member Functions

TArray< FActorDefinitionGetDefinitions () final
 Retrieve the definitions of the static mesh actor. More...
 
FActorSpawnResult SpawnActor (const FTransform &SpawnAtTransform, const FActorDescription &ActorDescription) final
 Spawn an actor based on ActorDescription and Transform. More...
 

Additional Inherited Members

- Public Member Functions inherited from ACarlaActorFactory
 ACarlaActorFactory (const FObjectInitializer &ObjectInitializer)
 

Detailed Description

Factory in charge of spawning static meshes.

This factory is able to spawn any mesh in content.

Definition at line 17 of file UtilActorFactory.h.

Member Function Documentation

◆ GetDefinitions()

TArray< FActorDefinition > AUtilActorFactory::GetDefinitions ( )
finalprivatevirtual

Retrieve the definitions of the static mesh actor.

Reimplemented from ACarlaActorFactory.

Definition at line 13 of file UtilActorFactory.cpp.

◆ SpawnActor()

FActorSpawnResult AUtilActorFactory::SpawnActor ( const FTransform &  SpawnAtTransform,
const FActorDescription ActorDescription 
)
finalprivatevirtual

Spawn an actor based on ActorDescription and Transform.

Precondition
ActorDescription is expected to be derived from one of the definitions retrieved with GetDefinitions.

Reimplemented from ACarlaActorFactory.

Definition at line 25 of file UtilActorFactory.cpp.

References FActorDescription::Class.


The documentation for this class was generated from the following files: