FDatasmithImporter::ImportMaterial

Choose your operating system:

Windows

macOS

Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithImporter.h

Include

#include "DatasmithImporter.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithImporter.cpp

Syntax

static UMaterialInterface * ImportMaterial
(
    FDatasmithImportContext & ImportContext,
    TSharedRef< IDatasmithBaseMaterialElement > MaterialElement,
    UMaterialInterface * ExistingMaterial
)

Returns

The imported material