IMeshMergeUtilities::MergeComponentsToInstances

Merges static mesh components into a single actor with multiple instanced static mesh components

Windows
MacOS
Linux

References

Module

MeshMergeUtilities

Header

/Engine/Source/Developer/MeshMergeUtilities/Public/IMeshMergeUtilities.h

Include

#include "IMeshMergeUtilities.h"

Syntax

void MergeComponentsToInstances
(
    const TArray< UPrimitiveComponent * > & ComponentsToMerge,
    UWorld * World,
    ULevel * Level,
    const FMeshInstancingSettings & InSettings,
    bool bActuallyMerge,
    FText * OutResultsText
) const

Remarks

Merges static mesh components into a single actor with multiple instanced static mesh components

Returns

void

Parameters

Parameter

Description

ComponentsToMerge

Components to merge

World

World in which the components reside Level - The level in which to create the new merged actor

InSettings

Settings to use

bActuallyMerge

Whether to actually perform the merge (could just be fetching predicted results)

OutResultsText

(optional) Results of the merge

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