/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorLevelLibrary.h
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.
static bool MergeStaticMeshActors ( const [TArray](API\Runtime\Core\Containers\TArray)< class [AStaticMeshActor](API\Runtime\Engine\Engine\AStaticMeshActor) * > & ActorsToMerge, const [FEditorScriptingMergeStaticMeshActorsOptions_Deprecated](API\Plugins\EditorScriptingUtilities\FEditorScripting-_2) & MergeOptions, class [AStaticMeshActor](API\Runtime\Engine\Engine\AStaticMeshActor) *& OutMergedActor )