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

property texture

[Read-Write] Source texture

Type

(Texture)

property u

[Read-Write] UV coords

Type

(float)

property ul

[Read-Write] UL

Type

(float)

property v

[Read-Write] V

Type

(float)

property vl

[Read-Write] VL

Type

(float)