Module |
|
Header |
/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h |
Include |
#include "MeshUtilities.h" |
void MergeStaticMeshComponents
(
const TArray< UStaticMeshComponent * > & ComponentsToMerge,
UWorld * World,
const FMeshMergingSettings & InSettings,
UPackage * InOuter,
const FString & InBasePackageName,
TArray< UObject * > & OutAssetsToSync,
FVector & OutMergedActorLocation,
const float ScreenAreaSize,
bool bSilent
) const
MergeStaticMeshComponents
void
Parameter |
Description |
---|---|
ComponentsToMerge |
Components to merge |
World |
World in which the component reside |
InSettings |
Settings to use |
InOuter |
Outer if required |
InBasePackageName |
Destination package name for a generated assets. Used if Outer is null. |
UseLOD |
1 if you'd like to build for all LODs. If you specify, that LOD mesh for source meshes will be used to merge the mesh This is used by hierarchical building LODs |
OutAssetsToSync |
Merged mesh assets |
OutMergedActorLocation |
World position of merged mesh |
ViewDistance |
Distance for LOD determination |
bSilent |
Non-verbose flag |