![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MediaSourceOptions.h>
Public Member Functions | |
| bool | operator== (const FMediaSourceCacheSettings &Other) const |
| bool | operator!= (const FMediaSourceCacheSettings &Other) const |
Public Attributes | |
| bool | bOverride = false |
| float | TimeToLookAhead = 0.2f |
Cache settings to pass to the player.
|
inline |
|
inline |
Override the default cache settings. Currently only the ImgMedia player supports these settings.
| float FMediaSourceCacheSettings::TimeToLookAhead = 0.2f |
The cache will fill up with frames that are up to this time from the current time. E.g. if this is 0.2, and we are at time index 5 seconds, then we will fill the cache with frames between 5 seconds and 5.2 seconds.