MeshPaintHelpers::ImportVertexColorsToStaticMeshComponent

Imports vertex colors from a Texture to the specified Static Mesh Component according to user-set options

Choose your operating system:

Windows

macOS

Linux

References

Module

MeshPaint

Header

/Engine/Source/Editor/MeshPaint/Public/MeshPaintHelpers.h

Include

#include "MeshPaintHelpers.h"

Source

/Engine/Source/Editor/MeshPaint/Private/MeshPaintHelpers.cpp

Syntax

static void ImportVertexColorsToStaticMeshComponent
(
    UStaticMeshComponent * StaticMeshComponent,
    const UVertexColorImportOptions * Options,
    UTexture2D * Texture
)

Remarks

Imports vertex colors from a Texture to the specified Static Mesh Component according to user-set options