IDatasmithMeshActorElement::AddMaterialOverride

Adds a new material override to the Actor Element

Windows
MacOS
Linux

References

Module

DatasmithCore

Header

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

Include

#include "IDatasmithSceneElements.h"

Syntax

void AddMaterialOverride
(
    const TCHAR * MaterialName,
    int32 Id
)

Remarks

Adds a new material override to the Actor Element

Parameters

Parameter

Description

MaterialName

name of the material, it should be unique

Id

material identifier to be used with mesh sub-material indices

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