MeshPaintHelpers::SetInstanceColorDataForLOD

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

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 [FColor](API\Runtime\Core\Math\FColor) FillColor,
    const [FColor](API\Runtime\Core\Math\FColor) MaskColor
)

Remarks

Sets the specific (LOD Index) per-instance vertex colors for the given StaticMeshComponent to a single Color value


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library