MeshPaintHelpers::SetInstanceColorDataForLOD

Sets the specific (LOD [Index](API\Runtime\Chaos\Chaos\Index)) per-instance vertex colors for the given StaticMeshComponent to the supplied Color array

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


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library