Navigation
Unreal Engine C++ API Reference > Runtime > Engine > MeshVertexPainter > FMeshVertexPainter
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 |
static void PaintVerticesSingleColor
&40;
UStaticMeshComponent &42; StaticMeshComponent,
const FLinearColor & FillColor,
bool bConvertToSRGB
&41;
Remarks
Paints a single vertex color to the given mesh component.
Parameters
Name | 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. |