unreal.OverlayItem

class unreal.OverlayItem(start_time=[0, 0, 0, 0, 0], end_time=[0, 0, 0, 0, 0], text='', position=[0.0, 0.0])

Bases: unreal.StructBase

Overlay Item

C++ Source:

  • Module: Overlay

  • File: Overlays.h

Editor Properties: (see get_editor_property/set_editor_property)

  • end_time (Timespan): [Read-Write] End Time: When the overlay should be cleared

  • position (Vector2D): [Read-Write] Position: The position of the text on screen (Between 0.0 and 1.0)

  • start_time (Timespan): [Read-Write] Start Time: When the overlay should be displayed

  • text (str): [Read-Write] Text: Text that appears onscreen when the overlay is shown

property end_time

[Read-Write] End Time: When the overlay should be cleared

Type

(Timespan)

property position

[Read-Write] Position: The position of the text on screen (Between 0.0 and 1.0)

Type

(Vector2D)

property start_time

[Read-Write] Start Time: When the overlay should be displayed

Type

(Timespan)

property text

[Read-Write] Text: Text that appears onscreen when the overlay is shown

Type

(str)