IMaterialBakingAdapter::AddMaterial

Adds a new material to the underlying asset/data and specify the slot names

Windows
MacOS
Linux

Override Hierarchy

References

Module

MeshMergeUtilities

Header

/Engine/Source/Developer/MeshMergeUtilities/Public/IMaterialBakingAdapter.h

Include

#include "IMaterialBakingAdapter.h"

Syntax

int32 AddMaterial
(
    UMaterialInterface * Material,
    const FName & SlotName,
    const FName & ImportedSlotName
)

Remarks

Adds a new material to the underlying asset/data and specify the slot names

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