unreal.CanvasIcon

class unreal.CanvasIcon(texture=None, u=0.0, v=0.0, ul=0.0, vl=0.0)

Bases: unreal.StructBase

Holds texture information with UV coordinates as well.

C++ Source:

  • Module: Engine
  • File: Canvas.h

Editor Properties: (see get_editor_property/set_editor_property)

  • texture (Texture): [Read-Write] Source texture
  • u (float): [Read-Write] UV coords
  • ul (float): [Read-Write] UL
  • v (float): [Read-Write] V
  • vl (float): [Read-Write] VL
texture

(Texture) – [Read-Write] Source texture

u

(float) – [Read-Write] UV coords

ul

(float) – [Read-Write] UL

v

(float) – [Read-Write] V

vl

(float) – [Read-Write] VL