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 |
Copy a material from its transient package into its final public package and builds it. Also finalizes the parent material for instances when it's under the same path as the SourceMaterial.
The resulting material
Parameter |
Description |
---|---|
SourceMaterial |
The material to finalize. |
MaterialFolderPath |
The path where to put the final material, if we don't have an ExistingMaterial |
MaterialFolderPath |
The transient path of the imported scene, used to finalize parent materials. |
MaterialFolderPath |
The root folder where we want to import the scene, used to finalize parent materials. |
ExistingMaterial |
An optional existing material on which we will finalize over. |
ReferencesToRemap |
A map of migrated objects. If SourceMaterial refers to any key objects, those references will be replaced by the corresponding map value. |