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

property v0_color

[Read-Write] Color of first vertex

Type

(LinearColor)

property v0_pos

[Read-Write] Position of first vertex

Type

(Vector2D)

property v0_uv

[Read-Write] UV of first vertex

Type

(Vector2D)

property v1_color

[Read-Write] Color of second vertex

Type

(LinearColor)

property v1_pos

[Read-Write] Position of second vertex

Type

(Vector2D)

property v1_uv

[Read-Write] UV of second vertex

Type

(Vector2D)

property v2_color

[Read-Write] Color of third vertex

Type

(LinearColor)

property v2_pos

[Read-Write] Position of third vertex

Type

(Vector2D)

property v2_uv

[Read-Write] UV of third vertex

Type

(Vector2D)