Navigation
API > API/Developer > API/Developer/MeshMergeUtilities > API/Developer/MeshMergeUtilities/IMeshMergeUtilities
References
| Module | MeshMergeUtilities |
| Header | /Engine/Source/Developer/MeshMergeUtilities/Public/IMeshMergeUtilities.h |
| Include | #include "IMeshMergeUtilities.h" |
void MergeComponentsToInstances
&40;
const TArray< UPrimitiveComponent &42; > & ComponentsToMerge,
UWorld &42; World,
ULevel &42; Level,
const FMeshInstancingSettings & InSettings,
bool bActuallyMerge,
bool bReplaceSourceActors,
FText &42; OutResultsText
&41; const
Remarks
Merges static mesh components into a single actor with multiple instanced static mesh components void
Parameters
| Name | 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 |