IMeshUtilities::ConvertMeshesToStaticMesh

Convert a set of mesh components in their current pose to a static mesh.

Windows
MacOS
Linux

References

Module

MeshUtilities

Header

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

Include

#include "MeshUtilities.h"

Syntax

UStaticMesh * ConvertMeshesToStaticMesh
(
    const TArray< UMeshComponent * > & InMeshComponents,
    const FTransform & InRootTransform,
    const FString & InPackageName
)

Remarks

Convert a set of mesh components in their current pose to a static mesh.

Returns

a new static mesh (specified by the user)

Parameters

Parameter

Description

InMeshComponents

The mesh components we want to convert

InRootTransform

The transform of the root of the mesh we want to output

InPackageName

The package name to create the static mesh in. If this is empty then a dialog will be displayed to pick the 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