Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
Include |
#include "IDatasmithSceneElements.h" |
void AddMaterial
(
const TSharedPtr< IDatasmithBaseMaterialElement > & InMaterial
)
Adds a new Material to the scene (it won't be applied to any mesh).
Parameter |
Description |
---|---|
InMaterial |
the Material that will be added |