unreal.CanvasIcon

class unreal.CanvasIcon(texture: Texture = Ellipsis, u: float = 0.0, v: float = 0.0, ul: float = 0.0, vl: float = 0.0)

Bases: 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] Texture: Source texture

  • u (float): [Read-Write] U: UV coords

  • ul (float): [Read-Write] UL

  • v (float): [Read-Write] V

  • vl (float): [Read-Write] VL

property texture: Texture

[Read-Write] Texture: Source texture

Type:

(Texture)

property u: float

[Read-Write] U: UV coords

Type:

(float)

property ul: float

[Read-Write] UL

Type:

(float)

property v: float

[Read-Write] V

Type:

(float)

property vl: float

[Read-Write] VL

Type:

(float)