| IAudioStreamingManager::RequestChunk()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/ContentStreaming.h |
Include |
#include "ContentStreaming.h" |
bool RequestChunk
(
USoundWave * SoundWave,
uint32 ChunkIndex,
TFunction< void)> OnLoadCompleted,
ENamedThreads::Type ThreadToCallOnLoadCompletedOn,
bool bForImmediatePlayback
)
Manually prepare a chunk to start playing back. This should only be used when the Load On Demand feature is enabled, and returns false on failure.
Parameter |
Description |
---|---|
SoundWave |
SoundWave we would like to request a chunk of. |
ChunkIndex |
the index of that soundwave we'd like to request a chunk of. |
OnLoadCompleted |
optional callback when the load completes. |
ThreadToCallOnLoadCompleteOn. |
Optional specifier for which thread OnLoadCompleted should be called on. |
bForImmediatePlaybac |
if true, this will optionally reprioritize this chunk's load request. |