unreal.CanvasUVTri

class unreal.CanvasUVTri(v0_pos=[0.0, 0.0], v0_uv=[0.0, 0.0], v0_color=[0.0, 0.0, 0.0, 0.0], v1_pos=[0.0, 0.0], v1_uv=[0.0, 0.0], v1_color=[0.0, 0.0, 0.0, 0.0], v2_pos=[0.0, 0.0], v2_uv=[0.0, 0.0], v2_color=[0.0, 0.0, 0.0, 0.0])

Bases: unreal.StructBase

Simple 2d triangle with UVs

C++ Source:

  • Module: Engine
  • File: EngineTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • v0_color (LinearColor): [Read-Write] Color of first vertex
  • v0_pos (Vector2D): [Read-Write] Position of first vertex
  • v0_uv (Vector2D): [Read-Write] UV of first vertex
  • v1_color (LinearColor): [Read-Write] Color of second vertex
  • v1_pos (Vector2D): [Read-Write] Position of second vertex
  • v1_uv (Vector2D): [Read-Write] UV of second vertex
  • v2_color (LinearColor): [Read-Write] Color of third vertex
  • v2_pos (Vector2D): [Read-Write] Position of third vertex
  • v2_uv (Vector2D): [Read-Write] UV of third vertex
v0_color

(LinearColor) – [Read-Write] Color of first vertex

v0_pos

(Vector2D) – [Read-Write] Position of first vertex

v0_uv

(Vector2D) – [Read-Write] UV of first vertex

v1_color

(LinearColor) – [Read-Write] Color of second vertex

v1_pos

(Vector2D) – [Read-Write] Position of second vertex

v1_uv

(Vector2D) – [Read-Write] UV of second vertex

v2_color

(LinearColor) – [Read-Write] Color of third vertex

v2_pos

(Vector2D) – [Read-Write] Position of third vertex

v2_uv

(Vector2D) – [Read-Write] UV of third vertex