Navigation
Unreal Engine C++ API Reference > Editor > MeshPaint > MeshPaintHelpers > SetInstanceColorDataForLOD
References
Module | MeshPaint |
Header | /Engine/Source/Editor/MeshPaint/Public/MeshPaintHelpers.h |
Include | #include "MeshPaintHelpers.h" |
Source | /Engine/Source/Editor/MeshPaint/Private/MeshPaintHelpers.cpp |
static void SetInstanceColorDataForLOD ( [UStaticMeshComponent](API\Runtime\Engine\Components\UStaticMeshComponent) * MeshComponent, int32 LODIndex, const [TArray](API\Runtime\Core\Containers\TArray)< [FColor](API\Runtime\Core\Math\FColor) > & Colors )
Remarks
Sets the specific (LOD Index) per-instance vertex colors for the given StaticMeshComponent to the supplied Color array