UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMediaSourceCacheSettings Struct Reference

#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
 

Detailed Description

Cache settings to pass to the player.

Member Function Documentation

◆ operator!=()

bool FMediaSourceCacheSettings::operator!= ( const FMediaSourceCacheSettings Other) const
inline

◆ operator==()

bool FMediaSourceCacheSettings::operator== ( const FMediaSourceCacheSettings Other) const
inline

Member Data Documentation

◆ bOverride

bool FMediaSourceCacheSettings::bOverride = false

Override the default cache settings. Currently only the ImgMedia player supports these settings.

◆ TimeToLookAhead

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.


The documentation for this struct was generated from the following file: