Module |
|
Header |
/Engine/Source/Developer/MeshUtilities/Public/MeshUtilities.h |
Include |
#include "MeshUtilities.h" |
UStaticMesh * ConvertMeshesToStaticMesh
(
const TArray< UMeshComponent * > & InMeshComponents,
const FTransform & InRootTransform,
const FString & InPackageName
)
Convert a set of mesh components in their current pose to a static mesh.
a new static mesh (specified by the user)
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. |