/Engine/Source/Editor/UnrealEd/Public/EditorWorldExtension.h
Spawns a transient actor that we can use in the current world of this extension
[AActor](API\Runtime\Engine\GameFramework\AActor) * SpawnTransientSceneActor ( [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [AActor](API\Runtime\Engine\GameFramework\AActor) > ActorClass, const [FString](API\Runtime\Core\Containers\FString) & ActorName, const bool bWithSceneComponent, const EObjectFlags InObjectFlags, const bool bValidForPIE )