Module |
|
Header |
/Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Public/TexturePaintToolset.h |
Include |
#include "TexturePaintToolset.h" |
Source |
/Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Private/TexturePaintToolset.cpp |
static void FindMaterialIndicesUsingTexture
(
const UTexture * Texture,
const UMeshComponent * MeshComponent,
TArray< int32 > & OutIndices
)
Tries to find Materials using the given Texture and retrieve the corresponding material indices from the MEsh Compon