Navigation
Unreal Engine C++ API Reference > Runtime > Media > IMediaSamples > FetchSubtitle
- IMediaSamples::FetchSubtitle()
- FMediaSamples::FetchSubtitle()
- FMediaIOCoreSamples::FetchSubtitle()
References
Module | Media |
Header | /Engine/Source/Runtime/Media/Public/IMediaSamples.h |
Include | #include "IMediaSamples.h" |
virtual bool FetchSubtitle
&40;
TRange< FTimespan > TimeRange,
TSharedPtr< IMediaOverlaySample, ESPMode::ThreadSafe > & OutSample
&41;
Remarks
Fetch the next subtitle sample. true if the returned sample is valid, false otherwise.
Parameters
Name | Description |
---|---|
TimeRange | The range of present times that the sample is allowed to have. |
OutSample | Will contain the sample if the queue is not empty. |