FMeshVertexPainter

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "MeshVertexPainter/MeshVertexPainter.h"

Syntax

class FMeshVertexPainter

Functions

Name Description

Public function Static

void

 

PaintVerticesLerpAlongAxis

(
    UStaticMeshComponent* StaticMe...,
    const FLinearColor& StartColor,
    const FLinearColor& EndColor,
    EVertexPaintAxis Axis,
    bool bConvertToSRGB
)

Paints vertex colors on a mesh component lerping from the start to the end color along the specified axis.

Public function Static

void

 

PaintVerticesSingleColor

(
    UStaticMeshComponent* StaticMe...,
    const FLinearColor& FillColor,
    bool bConvertToSRGB
)

Paints a single vertex color to the given mesh component.

Public function Static

void

 

RemovePaintedVertices

(
    UStaticMeshComponent* StaticMe...
)

Removes painted vertex colors from the given mesh component.

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