IMeshUtilities::MergeStaticMeshComponents

MergeStaticMeshComponents

Windows
MacOS
Linux

References

Module

MeshUtilities

Header

/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h

Include

#include "MeshUtilities.h"

Syntax

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

Remarks

MergeStaticMeshComponents

Returns

void

Parameters

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

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