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;KeyWords&61;"Transient"&41;&41;
static AActor &42; SpawnActorFromObject
&40;
class UObject &42; ObjectToUse,
FVector Location,
FRotator Rotation,
bool bTransient
&41;
Remarks
Create an actor and place it in the world editor. The Actor can be created from a Factory, Archetype, Blueprint, Class or an Asset. The actor will be created in the current level and will be selected. The created actor.
Parameters
| Name | Description |
|---|---|
| ObjectToUse | Asset to attempt to use for an actor to place. |
| Location | Location of the new actor. |