Navigation
API > API/Developer > API/Developer/MeshMergeUtilities > API/Developer/MeshMergeUtilities/FStaticMeshComponentAdapter > API/Developer/MeshMergeUtilities/FStaticMeshComponentAdapter/AddMaterial
- IMaterialBakingAdapter::AddMaterial()
- FStaticMeshComponentAdapter::AddMaterial()
References
Module | MeshMergeUtilities |
Header | /Engine/Source/Developer/MeshMergeUtilities/Public/StaticMeshComponentAdapter.h |
Include | #include "StaticMeshComponentAdapter.h" |
Source | /Engine/Source/Developer/MeshMergeUtilities/Private/StaticMeshComponentAdapter.cpp |
virtual int32 AddMaterial
&40;
UMaterialInterface &42; Material,
const FName & SlotName,
const FName & ImportedSlotName
&41;
Remarks
Adds a new material to the underlying asset/data and specify the slot names