Module |
|
Header |
/Engine/Source/Developer/MeshMergeUtilities/Public/IMeshMergeUtilities.h |
Include |
#include "IMeshMergeUtilities.h" |
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
Merges components into a single Static Mesh (with possible baked out atlas-material)
void
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 |