/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/AssetUtils/StaticMeshMaterialUtil.h
The GetStaticMeshAssetMaterials() function can be used to build this data structure for a given StaticMesh LOD.
struct FStaticMeshLODMaterialSetInfo
int32
LODIndex
LODIndexthe data below refers to
TArray<FStatic...
MaterialSlots
MaterialSlots array is a copy of the UStaticMesh::StaticMaterials array/data
int32
NumSections
Number of Sections on the mesh LOD
TArray<UMateri...
SectionMaterials
The Material assigned to each Section, in linear order
TArray< int32 >
SectionSlotIndexes
The index into MaterialSlots array of the Material assigned to each Section, in linear order