unreal.MeshVertexPainterLibrary
¶
-
class
unreal.
MeshVertexPainterLibrary
(outer=None, name='None')¶ Bases:
unreal.BlueprintFunctionLibrary
Mesh Vertex Painter Kismet Library
C++ Source:
Module: Engine
File: MeshVertexPainterKismetLibrary.h
-
classmethod
paint_vertices_lerp_along_axis
(static_mesh_component, start_color, end_color, axis, convert_to_srgb=True) → None¶ Paints vertex colors on a mesh component lerping from the start to the end color along the specified axis.
- Parameters
static_mesh_component (StaticMeshComponent) –
start_color (LinearColor) –
end_color (LinearColor) –
axis (VertexPaintAxis) –
convert_to_srgb (bool) –
-
classmethod
paint_vertices_single_color
(static_mesh_component, fill_color, convert_to_srgb=True) → None¶ Paints vertex colors on a mesh component in a specified color.
- Parameters
static_mesh_component (StaticMeshComponent) –
fill_color (LinearColor) –
convert_to_srgb (bool) –
-
classmethod
remove_painted_vertices
(static_mesh_component) → None¶ Removes vertex colors on a mesh component
- Parameters
static_mesh_component (StaticMeshComponent) –