#include <MeshVertexPainter.h>
◆ PaintVerticesLerpAlongAxis()
Paints vertex colors on a mesh component lerping from the start to the end color along the specified axis.
- Parameters
-
| StaticMeshComponent | The static mesh component to be painted |
| StartColor | The color to paint at the minimum bound |
| EndColor | The color to paint at the maximum bound |
| Axis | The mesh local space axis along which to lerp |
| bConvertToSRGB | Whether the vertex color should be converted to sRGB. |
◆ PaintVerticesSingleColor()
| void FMeshVertexPainter::PaintVerticesSingleColor |
( |
UStaticMeshComponent * |
StaticMeshComponent, |
|
|
const FLinearColor & |
FillColor, |
|
|
bool |
bConvertToSRGB = true |
|
) |
| |
|
static |
Paints a single vertex color to the given mesh component.
- Parameters
-
| StaticMeshComponent | The static mesh component to be painted |
| FillColor | The color to be applied. |
| bConvertToSRGB | Whether the vertex color should be converted to sRGB. |
◆ RemovePaintedVertices()
| void FMeshVertexPainter::RemovePaintedVertices |
( |
UStaticMeshComponent * |
StaticMeshComponent | ) |
|
|
static |
Removes painted vertex colors from the given mesh component.
- Parameters
-
| StaticMeshComponent | The static mesh component to have its vertex colors removed |
The documentation for this class was generated from the following files: