FStaticMeshComponentAdapter::AddMaterial

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

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

virtual 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