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