Navigation
API > API/Plugins > API/Plugins/EditorScriptingUtilities > API/Plugins/EditorScriptingUtilities/UEditorLevelLibrary > API/Plugins/EditorScriptingUtilities/UEditorLevelLibrary/MergeStaticMeshActors
Deprecated * The Editor Scripting Utilities Plugin is deprecated - Use the function in Static Mesh Editor 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 |
static bool MergeStaticMeshActors
&40;
const TArray< class AStaticMeshActor &42; > & ActorsToMerge,
const FEditorScriptingMergeStaticMeshActorsOptions_Deprecated & MergeOptions,
class AStaticMeshActor &42;& OutMergedActor
&41;
Remarks
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.
Parameters
| Name | Description |
|---|---|
| ActorsToMerge | List of Actors to merge. |
| MergeOptions | Options on how to merge the actors. |
| OutMergedActor | The new created actor, if requested. |