IMeshMergeUtilities::MergeComponentsToStaticMesh

Merges components into a single Static Mesh (with possible baked out atlas-material)

Windows
MacOS
Linux

References

Module

MeshMergeUtilities

Header

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

Include

#include "IMeshMergeUtilities.h"

Syntax

void MergeComponentsToStaticMesh
(
    const TArray< UPrimitiveComponent * > & ComponentsToMerge,
    UWorld * World,
    const FMeshMergingSettings & InSettings,
    UMaterialInterface * InBaseMaterial,
    UPackage * InOuter,
    const FString & InBasePackageName,
    TArray< UObject * > & OutAssetsToSync,
    FVector & OutMergedActorLocation,
    const float ScreenSize,
    bool bSilent
) const

Remarks

Merges components into a single Static Mesh (with possible baked out atlas-material)

Returns

void

Parameters

Parameter

Description

ComponentsToMerge

Components to merge

World

World in which the component reside

InSettings

Settings to use

InBaseMaterial

Base Material used for final proxy material (optional, can be null)

InOuter

Outer if required

InBasePackageName

Destination package name for a generated assets. Used if Outer is null.

OutAssetsToSync

Merged mesh assets

OutMergedActorLocation

World position of merged mesh

Screensize

final targeted screensize of mesh

bSilent

Non-verbose flag

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