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

property color

[Read-Write] Vertex color

Type

(Color)

property normal

[Read-Write] Vertex normal

Type

(Vector)

property position

[Read-Write] Vertex position

Type

(Vector)

property tangent

[Read-Write] Vertex tangent

Type

(ProcMeshTangent)

property uv0

[Read-Write] Vertex texture co-ordinate

Type

(Vector2D)

property uv1

[Read-Write] Vertex texture co-ordinate

Type

(Vector2D)

property uv2

[Read-Write] Vertex texture co-ordinate

Type

(Vector2D)

property uv3

[Read-Write] Vertex texture co-ordinate

Type

(Vector2D)