UTexturePaintToolset::RetrieveMeshSectionsForMaterialIndices

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

Windows
MacOS
Linux

References

Module

MeshPaintingToolset

Header

/Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Public/TexturePaintToolset.h

Include

#include "TexturePaintToolset.h"

Source

/Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Private/TexturePaintToolset.cpp

Syntax

static void RetrieveMeshSectionsForMaterialIndices
(
    const UMeshComponent * MeshComponent,
    int32 LODIndex,
    const TArray< int32 > & MaterialIndices,
    TArray< FTexturePaintMeshSectionInfo > & OutSectionInfo
)

Remarks

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss