TexturePaintHelpers::RetrieveMeshSectionsForTextures

Retrieve LOD mesh sections from MeshComponent which use one of the given textures

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 RetrieveMeshSectionsForTextures
(
    const [UMeshComponent](API\Runtime\Engine\Components\UMeshComponent) * MeshComponent,
    int32 LODIndex,
    [TArray](API\Runtime\Core\Containers\TArray)< const [UTexture](API\Runtime\Engine\Engine\UTexture) * > Textures,
    [TArray](API\Runtime\Core\Containers\TArray)< [FTexturePaintMeshSectionInfo](API\Editor\MeshPaint\FTexturePaintMeshSectionInfo) > & OutSectionInfo
)

Remarks

Retrieve LOD mesh sections from MeshComponent which use one of the given textures


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library