Navigation
API > API/Plugins > API/Plugins/EditorScriptingUtilities > API/Plugins/EditorScriptingUtilities/UEditorLevelLibrary
Deprecated * The Editor Scripting Utilities Plugin is deprecated - Use the function in Editor Actor Utilities Subsystem
References
| Module | EditorScriptingUtilities |
| Header | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorLevelLibrary.h |
| Include | #include "EditorLevelLibrary.h" |
| Source | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorLevelLibrary.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Editor Scripting &124; Level Utility",
Meta&61;&40;DeterminesOutputType&61;"ActorClass", KeyWords&61;"Transient"&41;&41;
static AActor &42; SpawnActorFromClass
&40;
TSubclassOf< class AActor > ActorClass,
FVector Location,
FRotator Rotation,
bool bTransient
&41;
Remarks
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.
Parameters
| Name | Description |
|---|---|
| ActorClass | Asset to attempt to use for an actor to place. |
| Location | Location of the new actor. |