/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorLevelLibrary.h
Create an actor and place it in the world editor. Can be created from a Blueprint or a Class. The actor will be created in the current level and will be selected.
The created actor.
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | Level Utility", Meta=(DeterminesOutputType="ActorClass", KeyWords="Transient")) static [AActor](API\Runtime\Engine\GameFramework\AActor) * SpawnActorFromClass ( [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< class [AActor](API\Runtime\Engine\GameFramework\AActor) > ActorClass, FVector Location, FRotator Rotation, bool bTransient )