G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
MeshVertexPainter Namespace Reference

Functions

VertexPaint
void PaintVerticesSingleColor (UStaticMeshComponent StaticMeshComponent, FLinearColor FillColor, bool bConvertToSRGB=true)
 Paints vertex colors on a mesh component in a specified color.
void RemovePaintedVertices (UStaticMeshComponent StaticMeshComponent)
 Removes vertex colors on a mesh component.
void PaintVerticesLerpAlongAxis (UStaticMeshComponent StaticMeshComponent, FLinearColor StartColor, FLinearColor EndColor, EVertexPaintAxis Axis, bool bConvertToSRGB=true)
 Paints vertex colors on a mesh component lerping from the start to the end color along the specified axis.

Function Documentation

◆ PaintVerticesLerpAlongAxis()

void PaintVerticesLerpAlongAxis ( UStaticMeshComponent StaticMeshComponent,
FLinearColor StartColor,
FLinearColor EndColor,
EVertexPaintAxis Axis,
bool bConvertToSRGB = true )

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

◆ PaintVerticesSingleColor()

void PaintVerticesSingleColor ( UStaticMeshComponent StaticMeshComponent,
FLinearColor FillColor,
bool bConvertToSRGB = true )

Paints vertex colors on a mesh component in a specified color.

◆ RemovePaintedVertices()

void RemovePaintedVertices ( UStaticMeshComponent StaticMeshComponent)

Removes vertex colors on a mesh component.