Navigation
API > API/Plugins > API/Plugins/SubtitlesAndClosedCaptions > API/Plugins/SubtitlesAndClosedCaptions/USubtitlesSubsystem
Description
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/Experimental/SubtitlesAndClosedCaptions/Source/SubtitlesAndClosedCaptions/Public/SubtitlesSubsystem.h |
| Include Path | #include "SubtitlesSubsystem.h" |
| Source | /Engine/Plugins/Experimental/SubtitlesAndClosedCaptions/Source/SubtitlesAndClosedCaptions/Private/SubtitlesSubsystem.cpp |
virtual void QueueSubtitle
(
const FQueueSubtitleParameters & Params,
const ESubtitleTiming Timing
)