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")
static bool MergeStaticMeshActors
(
const TArray< class AStaticMeshActor * > & ActorsToMerge,
const FEditorScriptingMergeStaticMeshActorsOptions & MergeOptions,
class AStaticMeshActor *& OutMergedActor
)
Merge the meshes into a unique mesh with the provided StaticMeshActors. There are multiple options on how to merge the meshes and their materials. The ActorsToMerge need to be in the same Level. This may have a high impact on performance depending of the MeshMergingSettings options.
if the operation is successful.
Parameter |
Description |
---|---|
ActorsToMerge |
List of Actors to merge. |
MergeOptions |
Options on how to merge the actors. |
OutMergedActor |
The new created actor, if requested. |