Module |
|
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](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | Dataprep",
Meta=(DeterminesOutputType="ActorClass"))
static TArray< class AActor * > ConvertActors
(
const TArray< class AActor * > & Actors,
TSubclassOf< class AActor > ActorClass,
const FString & StaticMeshPackagePath
)
Replace in the level all Actors provided with a new actor of type ActorClass. Destroy all Actors provided.
Parameter |
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/ |