UTexturePaintToolset::FindMaterialIndicesUsingTexture

Tries to find Materials using the given Texture and retrieve the corresponding material indices from the MEsh Compon

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 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

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