IMeshUtilities::ConvertMeshesToStaticMesh

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

Unreal Engine C++ API Reference > Developer > MeshUtilities > IMeshUtilities

References

   
Module MeshUtilities
Header /Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h
Include #include "MeshUtilities.h"
[UStaticMesh](API\Runtime\Engine\Engine\UStaticMesh) * ConvertMeshesToStaticMesh
(
    const [TArray](API\Runtime\Core\Containers\TArray)< [UMeshComponent](API\Runtime\Engine\Components\UMeshComponent) * > & InMeshComponents,
    const FTransform & InRootTransform,
    const [FString](API\Runtime\Core\Containers\FString) & InPackageName
)

Remarks

Convert a set of mesh components in their current pose to a static mesh. a new static mesh (specified by the user)

Parameters

Name 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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library