MeshPaintHelpers::PickVertexColorFromTextureData

Helper function to retrieve vertex color from a [UTexture](API\Runtime\Engine\Engine\UTexture) given a UVCoordinate

Unreal Engine C++ API Reference > Editor > MeshPaint > MeshPaintHelpers

References

   
Module MeshPaint
Header /Engine/Source/Editor/MeshPaint/Public/MeshPaintHelpers.h
Include #include "MeshPaintHelpers.h"
Source /Engine/Source/Editor/MeshPaint/Private/MeshPaintHelpers.cpp
static [FColor](API\Runtime\Core\Math\FColor) PickVertexColorFromTextureData
(
    const uint8 * MipData,
    const FVector2D & UVCoordinate,
    const [UTexture2D](API\Runtime\Engine\Engine\UTexture2D) * Texture,
    const [FColor](API\Runtime\Core\Math\FColor) ColorMask
)

Remarks

Helper function to retrieve vertex color from a UTexture given a UVCoordinate


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library