Module |
|
Header |
/Engine/Source/Developer/MeshMergeUtilities/Public/IMeshMergeUtilities.h |
Include |
#include "IMeshMergeUtilities.h" |
void MergeComponentsToInstances
(
const TArray< UPrimitiveComponent * > & ComponentsToMerge,
UWorld * World,
ULevel * Level,
const FMeshInstancingSettings & InSettings,
bool bActuallyMerge,
FText * OutResultsText
) const
Merges static mesh components into a single actor with multiple instanced static mesh components
void
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 |