Navigation
API > API/Plugins > API/Plugins/SubtitlesAndClosedCaptions > API/Plugins/SubtitlesAndClosedCaptions/USubtitlesSubsystem
Description
FSubtitlesAndClosedCaptionsDelegates For thread safety, Queueing and Stopping subtitles will be marshaled onto the Game Thread. Their corresponding API calls will immediately return and be run asynchronously. Adds a subtitle to the queue: Params contains the subtitle asset and an optional duration. The highest-priority subtitle in the queue will be displayed. If Timing is ExternallyTimed, the queued subtitle will remain in the queue until manually removed. If the subtitle asset has a non-zero StartOffset, it will sit in a delayed-start queue instead of being queued for display.
| Name | QueueSubtitle |
| Type | function |
| Header File | /Engine/Plugins/SubtitlesAndClosedCaptions/Source/SubtitlesAndClosedCaptions/Public/SubtitlesSubsystem.h |
| Include Path | #include "SubtitlesSubsystem.h" |
| Source | /Engine/Plugins/SubtitlesAndClosedCaptions/Source/SubtitlesAndClosedCaptions/Private/SubtitlesSubsystem.cpp |
virtual void QueueSubtitle
(
FQueueSubtitleParameters Params,
const ESubtitleTiming Timing
)