Navigation
API > API/Runtime > API/Runtime/MediaUtils > API/Runtime/MediaUtils/FMediaSampleCache
References
| Module | MediaUtils |
| Header | /Engine/Source/Runtime/MediaUtils/Public/MediaSampleCache.h |
| Include | #include "MediaSampleCache.h" |
void SetCacheWindow
&40;
FTimespan Ahead,
FTimespan Behind
&41;
Remarks
Set the time window of samples to cache.
Parameters
| Name | Description |
|---|---|
| Ahead | Maximum time of samples to cache ahead of the play position. |
| Behind | Maximum time of samples to cache behind the play position. |