Factory in charge of spawning static meshes. More...
#include <StaticMeshFactory.h>
Private Member Functions | |
TArray< FActorDefinition > | GetDefinitions () 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) | |
Factory in charge of spawning static meshes.
This factory is able to spawn any mesh in content.
Definition at line 17 of file StaticMeshFactory.h.
|
finalprivatevirtual |
Retrieve the definitions of the static mesh actor.
Reimplemented from ACarlaActorFactory.
Definition at line 12 of file StaticMeshFactory.cpp.
|
finalprivatevirtual |
Spawn an actor based on ActorDescription and Transform.
Reimplemented from ACarlaActorFactory.
Definition at line 35 of file StaticMeshFactory.cpp.
References FActorDescription::Class, and FActorDescription::Variations.