Module |
|
Header |
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithActorImporter.h |
Include |
#include "DatasmithActorImporter.h" |
Source |
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithActorImporter.cpp |
static void OverrideStaticMeshActorMaterial
(
const FDatasmithImportContext & ImportContext,
const TSharedRef< IDatasmithMaterialIDElement > & SubMaterial,
UDatasmithStaticMeshComponentTemplate * StaticMeshComponentTemplate,
int32 MeshSubMaterialIdx
)
Sets the materials on a static mesh actor to override the ones from the static mesh