unreal.SubtitleDurationType

class unreal.SubtitleDurationType

Bases: EnumBase

SubtitlesAudioSubsystem will automatically queue and stop subtitles embedded in USoundBase sounds using play/stop callbacks. This enum controls whether the stopping should be done automatically, or if the subtitle should be timed using its existing duration.

C++ Source:

  • Module: Engine

  • File: SubtitlesAndClosedCaptionsDelegates.h

USE_DURATION_PROPERTY: SubtitleDurationType = Ellipsis

Time this subtitle using its Duration property

Type:

1

USE_SOUND_DURATION: SubtitleDurationType = Ellipsis

Automatically stops this subtitle when the sound stops playing (only useful when attached as AssetUserData

Type:

0