IMaterialBakingAdapter::AddMaterial

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

Unreal Engine C++ API Reference > Developer > MeshMergeUtilities > IMaterialBakingAdapter > AddMaterial

  • IMaterialBakingAdapter::AddMaterial()

References

   
Module MeshMergeUtilities
Header /Engine/Source/Developer/MeshMergeUtilities/Public/IMaterialBakingAdapter.h
Include #include "IMaterialBakingAdapter.h"
int32 AddMaterial
(
    [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) * Material,
    const [FName](API\Runtime\Core\UObject\FName) & SlotName,
    const [FName](API\Runtime\Core\UObject\FName) & ImportedSlotName
)

Remarks

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


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library