TexturePaintHelpers::RetrieveMeshSectionsForMaterialIndices

Retrieve LOD mesh sections from MeshComponent which contain one of the Material Indices

Unreal Engine C++ API Reference > Editor > MeshPaint > TexturePaintHelpers

References

   
Module MeshPaint
Header /Engine/Source/Editor/MeshPaint/Public/TexturePaintHelpers.h
Include #include "TexturePaintHelpers.h"
Source /Engine/Source/Editor/MeshPaint/Private/TexturePaintHelpers.cpp
static void RetrieveMeshSectionsForMaterialIndices
(
    const [UMeshComponent](API\Runtime\Engine\Components\UMeshComponent) * MeshComponent,
    int32 LODIndex,
    const [TArray](API\Runtime\Core\Containers\TArray)< int32 > & MaterialIndices,
    [TArray](API\Runtime\Core\Containers\TArray)< [FTexturePaintMeshSectionInfo](API\Editor\MeshPaint\FTexturePaintMeshSectionInfo) > & OutSectionInfo
)

Remarks

Retrieve LOD mesh sections from MeshComponent which contain one of the Material Indices


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library