FSkeletalMeshComponentAdapter::AddMaterial

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

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

References

   
Module MeshMergeUtilities
Header /Engine/Source/Developer/MeshMergeUtilities/Public/SkeletalMeshAdapter.h
Include #include "SkeletalMeshAdapter.h"
Source /Engine/Source/Developer/MeshMergeUtilities/Private/SkeletalMeshAdapter.cpp
virtual 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