12#include "GameFramework/Actor.h"
14#include "CarlaActorFactoryBlueprint.generated.h"
20UCLASS(Abstract, BlueprintType, Blueprintable)
29 return GenerateDefinitions();
33 const FTransform &SpawnAtTransform,
37 SpawnActor(SpawnAtTransform, ActorDescription, Result);
43 UFUNCTION(BlueprintImplementableEvent)
46 UFUNCTION(BlueprintImplementableEvent)
48 const FTransform &SpawnAtTransform,
Base class for Blueprints implementing ACarlaActorFactory interface.
FActorSpawnResult SpawnActor(const FTransform &SpawnAtTransform, const FActorDescription &ActorDescription) final
Spawn an actor based on ActorDescription and Transform.
TArray< FActorDefinition > GetDefinitions() final
Retrieve the list of actor definitions that this class is able to spawn.
Base class for Carla actor factories.
A definition of a Carla Actor with all the variation and attributes.
A description of a Carla Actor with all its variation.
Result of an actor spawn function.