Module |
|
Header |
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithImporter.h |
Include |
#include "DatasmithImporter.h" |
Source |
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithImporter.cpp |
static UStaticMesh * FinalizeStaticMesh
(
UStaticMesh * SourceStaticMesh,
const TCHAR * StaticMeshesFolderPath,
UStaticMesh * ExistingStaticMesh,
TMap< UObject *, UObject * > * ReferencesToRemap,
bool bBuild
)
Copy a static mesh from its transient package into its final public package and builds it.
The resulting static mesh
Parameter |
Description |
---|---|
SourceStaticMesh |
The static mesh to finalize. |
StaticMeshesFolderPath |
The path where to put the final static mesh, if we don't have an ExistingStaticMesh |
ExistingStaticMesh |
An optional existing static mesh on which we will finalize over. |
ReferencesToRemap |
A map of migrated objects. If SourceStaticMesh refers to any key objects, those references will be replaced by the corresponding map value. |
bBuild |
Specify if the static mesh building should be performed. |