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; Dataprep",
Meta&61;&40;DeterminesOutputType&61;"ActorClass", DeprecatedFunction, DeprecationMessage&61;"The Editor Scripting Utilities Plugin is deprecated &45; Use the function in Editor Actor Utilities Subsystem"&41;&41;
static TArray< class AActor &42; > ConvertActors
&40;
const TArray< class AActor &42; > & Actors,
TSubclassOf< class AActor > ActorClass,
const FString & StaticMeshPackagePath
&41;
Remarks
Replace in the level all Actors provided with a new actor of type ActorClass. Destroy all Actors provided.
Parameters
| Name | Description |
|---|---|
| Actors | List of Actors to replace. |
| ActorClass | Class/Blueprint of the new actor that will be spawn. |
| StaticMeshPackagePath | If the list contains Brushes and it is requested to change them to StaticMesh, StaticMeshPackagePath is the package path to where the StaticMesh will be created. ie. /Game/MyFolder/ |