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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback