FStaticMeshComponentAdapter::SetMaterial

Sets material index to specified material value

Unreal Engine C++ API Reference > Developer > MeshMergeUtilities > FStaticMeshComponentAdapter

References

   
Module MeshMergeUtilities
Header /Engine/Source/Developer/MeshMergeUtilities/Public/StaticMeshComponentAdapter.h
Include #include "StaticMeshComponentAdapter.h"
Source /Engine/Source/Developer/MeshMergeUtilities/Private/StaticMeshComponentAdapter.cpp
virtual void SetMaterial
(
    int32 MaterialIndex,
    [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) * Material
)

Remarks

Sets material index to specified material value


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library