UMeshPaintingToolset::SetInstanceColorDataForLOD

Sets the specific (LOD Index) per-instance vertex colors for the given StaticMeshComponent to the supplied Color array

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 void SetInstanceColorDataForLOD
(
    UStaticMeshComponent * MeshComponent,
    int32 LODIndex,
    const TArray< FColor > & Colors
)

Remarks

Sets the specific (LOD Index) per-instance vertex colors for the given StaticMeshComponent to the supplied Color array

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