UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MeshVertexPainter.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "MeshVertexPainter.generated.h"
8
9class UStaticMeshComponent;
10
11UENUM()
13{
14 X,
15 Y,
16 Z
17};
18
19
21{
22public:
30 static ENGINE_API void PaintVerticesSingleColor(UStaticMeshComponent* StaticMeshComponent, const FLinearColor& FillColor, bool bConvertToSRGB = true);
31
41 static ENGINE_API void PaintVerticesLerpAlongAxis(UStaticMeshComponent* StaticMeshComponent, const FLinearColor& StartColor, const FLinearColor& EndColor, EVertexPaintAxis Axis, bool bConvertToSRGB = true);
42
48 static ENGINE_API void RemovePaintedVertices(UStaticMeshComponent* StaticMeshComponent);
49};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EVertexPaintAxis
Definition MeshVertexPainter.h:13
#define UENUM(...)
Definition ObjectMacros.h:749
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition MeshVertexPainter.h:21
static ENGINE_API void RemovePaintedVertices(UStaticMeshComponent *StaticMeshComponent)
Definition MeshVertexPainter.cpp:119
static ENGINE_API void PaintVerticesLerpAlongAxis(UStaticMeshComponent *StaticMeshComponent, const FLinearColor &StartColor, const FLinearColor &EndColor, EVertexPaintAxis Axis, bool bConvertToSRGB=true)
Definition MeshVertexPainter.cpp:50
static ENGINE_API void PaintVerticesSingleColor(UStaticMeshComponent *StaticMeshComponent, const FLinearColor &FillColor, bool bConvertToSRGB=true)
Definition MeshVertexPainter.cpp:11
Definition Color.h:48