Module |
|
Header |
/Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Public/MeshPaintHelpers.h |
Include |
#include "MeshPaintHelpers.h" |
Source |
/Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Private/MeshPaintHelpers.cpp |
static FColor PickVertexColorFromTextureData
(
const uint8 * MipData,
const FVector2D & UVCoordinate,
const UTexture2D * Texture,
const FColor ColorMask
)
Helper function to retrieve vertex color from a UTexture given a UVCoordinate