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 UMaterialFunction * FinalizeMaterialFunction
(
UObject * SourceMaterialFunction,
const TCHAR * MaterialFunctionsFolderPath,
UMaterialFunction * ExistingMaterialFunction,
TMap< UObject *, UObject * > * ReferencesToRemap
)
Copy a material function from its transient package into its final public package.
The resulting material function.
Parameter |
Description |
---|---|
SourceMaterialFunction |
The material function to finalize. |
MaterialFunctionFolderPath |
The path where to put the final material function, if we don't have an ExistingMaterialFunction. |
ExistingMaterialFunction |
An optional existing material function on which we will finalize over. |
ReferencesToRemap |
A map of migrated objects. If SourceMaterialFunction refers to any key objects those references will be replaced by the corresponding map value. |