unreal.SubtitleCue

class unreal.SubtitleCue(text: Text = '', time: float = 0.0)

Bases: StructBase

A line of subtitle text and the time at which it should be displayed.

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • text (Text): [Read-Write] The text to appear in the subtitle.

  • time (float): [Read-Write] The time at which the subtitle is to be displayed, in seconds relative to the beginning of the line.

property text: Text

[Read-Only] The text to appear in the subtitle.

Type:

(Text)

property time: float

[Read-Only] The time at which the subtitle is to be displayed, in seconds relative to the beginning of the line.

Type:

(float)