UEditorLevelLibrary::MergeStaticMeshActors

Merge the meshes into a unique mesh with the provided StaticMeshActors.

Windows
MacOS
Linux

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | Dataprep")
static bool MergeStaticMeshActors
(
    const TArray< class AStaticMeshActor * > & ActorsToMerge,
    const FEditorScriptingMergeStaticMeshActorsOptions & MergeOptions,
    class AStaticMeshActor *& OutMergedActor
)

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.

Returns

if the operation is successful.

Parameters

Parameter

Description

ActorsToMerge

List of Actors to merge.

MergeOptions

Options on how to merge the actors.

OutMergedActor

The new created actor, if requested.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss