UMeshVertexPainterKismetLibrary::PaintVerticesLerpAlongAxis

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

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "MeshVertexPainter/MeshVertexPainterKismetLibrary.h"

Source

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

Syntax

static void PaintVerticesLerpAlongAxis
(
    UStaticMeshComponent * StaticMeshComponent,
    const FLinearColor & StartColor,
    const FLinearColor & EndColor,
    EVertexPaintAxis Axis,
    bool bConvertToSRGB
)

Remarks

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

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