Navigation
Unreal Engine C++ API Reference > Runtime > MediaUtils > FMediaSamples > FetchCaption
- IMediaSamples::FetchCaption()
- FMediaSamples::FetchCaption()
References
Module | MediaUtils |
Header | /Engine/Source/Runtime/MediaUtils/Public/MediaSamples.h |
Include | #include "MediaSamples.h" |
Source | /Engine/Source/Runtime/MediaUtils/Private/MediaSamples.cpp |
virtual bool FetchCaption
&40;
TRange< FTimespan > TimeRange,
TSharedPtr< IMediaOverlaySample, ESPMode::ThreadSafe > & OutSample
&41;
Remarks
Fetch the next caption 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. |