UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MeshVertexPainterKismetLibrary.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"
8#include "MeshVertexPainterKismetLibrary.generated.h"
9
10class UStaticMeshComponent;
11enum class EVertexPaintAxis : uint8;
12
13UCLASS(MinimalAPI, meta=(ScriptName="MeshVertexPainterLibrary"))
15{
17
18public:
20 UFUNCTION(BlueprintCallable, Category = "VertexPaint")
21 static void PaintVerticesSingleColor(UStaticMeshComponent* StaticMeshComponent, const FLinearColor& FillColor, bool bConvertToSRGB = true);
22
24 UFUNCTION(BlueprintCallable, Category = "VertexPaint")
25 static void PaintVerticesLerpAlongAxis(UStaticMeshComponent* StaticMeshComponent, const FLinearColor& StartColor, const FLinearColor& EndColor, EVertexPaintAxis Axis, bool bConvertToSRGB = true);
26
28 UFUNCTION(BlueprintCallable, Category = "VertexPaint")
29 static void RemovePaintedVertices(UStaticMeshComponent* StaticMeshComponent);
30};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EVertexPaintAxis
Definition MeshVertexPainter.h:13
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UCLASS(...)
Definition ObjectMacros.h:776
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition BlueprintFunctionLibrary.h:16
Definition MeshVertexPainterKismetLibrary.h:15
Definition Color.h:48