Navigation
API > API/Editor > API/Editor/MeshPaint > API/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 FindMaterialIndicesUsingTexture
(
const UTexture * Texture,
const UMeshComponent * MeshComponent,
TArray< int32 > & OutIndices
)
Remarks
Tries to find Materials using the given Texture and retrieve the corresponding material indices from the MEsh Compon