unreal.ProcMeshVertex

class unreal.ProcMeshVertex(position=[0.0, 0.0, 0.0], normal=[0.0, 0.0, 1.0], tangent=[[1.0, 0.0, 0.0], False], color=[255, 255, 255, 255], uv0=[0.0, 0.0], uv1=[0.0, 0.0], uv2=[0.0, 0.0], uv3=[0.0, 0.0])

Bases: unreal.StructBase

One vertex for the procedural mesh, used for storing data internally

C++ Source:

  • Plugin: ProceduralMeshComponent
  • Module: ProceduralMeshComponent
  • File: ProceduralMeshComponent.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color (Color): [Read-Write] Vertex color
  • normal (Vector): [Read-Write] Vertex normal
  • position (Vector): [Read-Write] Vertex position
  • tangent (ProcMeshTangent): [Read-Write] Vertex tangent
  • uv0 (Vector2D): [Read-Write] Vertex texture co-ordinate
  • uv1 (Vector2D): [Read-Write] Vertex texture co-ordinate
  • uv2 (Vector2D): [Read-Write] Vertex texture co-ordinate
  • uv3 (Vector2D): [Read-Write] Vertex texture co-ordinate
color

(Color) – [Read-Write] Vertex color

normal

(Vector) – [Read-Write] Vertex normal

position

(Vector) – [Read-Write] Vertex position

tangent

(ProcMeshTangent) – [Read-Write] Vertex tangent

uv0

(Vector2D) – [Read-Write] Vertex texture co-ordinate

uv1

(Vector2D) – [Read-Write] Vertex texture co-ordinate

uv2

(Vector2D) – [Read-Write] Vertex texture co-ordinate

uv3

(Vector2D) – [Read-Write] Vertex texture co-ordinate