FMeshVertexPainter::PaintVerticesSingleColor

Paints a single vertex color to the given mesh component.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/MeshVertexPainter/MeshVertexPainter.h

Include

#include "MeshVertexPainter/MeshVertexPainter.h"

Source

/Engine/Source/Runtime/Engine/Private/MeshVertexPainter/MeshVertexPainter.cpp

Syntax

static void PaintVerticesSingleColor
(
    UStaticMeshComponent * StaticMeshComponent,
    const FLinearColor & FillColor,
    bool bConvertToSRGB
)

Remarks

Paints a single vertex color to the given mesh component.

Parameters

Parameter

Description

StaticMeshComponent

The static mesh component to be painted

FillColor

The color to be applied.

bConvertToSRGB

Whether the vertex color should be converted to sRGB.

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