IMeshUtilities::MergeActors

DEPRECATED FUNCTIONALITY Harvest static mesh components from input actors and merge into signle mesh grouping them by unique materials

Windows
MacOS
Linux

References

Module

MeshUtilities

Header

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

Include

#include "MeshUtilities.h"

Syntax

void MergeActors
(
    const TArray< AActor * > & SourceActors,
    const FMeshMergingSettings & InSettings,
    UPackage * InOuter,
    const FString & InBasePackageName,
    TArray< UObject * > & OutAssetsToSync,
    FVector & OutMergedActorLocation,
    bool bSilent
) const

Remarks

DEPRECATED FUNCTIONALITY Harvest static mesh components from input actors and merge into signle mesh grouping them by unique materials

Parameters

Parameter

Description

SourceActors

List of actors to merge

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

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