IDatasmithMeshElement::SetMaterial

Set the material slot Id to use the material MaterialPathName

Windows
MacOS
Linux

References

Module

DatasmithCore

Header

/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h

Include

#include "IDatasmithSceneElements.h"

Syntax

void SetMaterial
(
    const TCHAR * MaterialPathName,
    int32 SlotId
)

Remarks

Set the material slot Id to use the material MaterialPathName

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss