UMeshPaintingToolset::PickVertexColorFromTextureData

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

Windows
MacOS
Linux

References

Module

MeshPaintingToolset

Header

/Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Public/MeshPaintHelpers.h

Include

#include "MeshPaintHelpers.h"

Source

/Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Private/MeshPaintHelpers.cpp

Syntax

static FColor PickVertexColorFromTextureData
(
    const uint8 * MipData,
    const FVector2D & UVCoordinate,
    const UTexture2D * Texture,
    const FColor ColorMask
)

Remarks

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

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