Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h |
Include |
#include "Sound/SoundWave.h" |
Source |
/Engine/Source/Runtime/Engine/Private/SoundWave.cpp |
void OverrideLoadingBehavior
(
ESoundWaveLoadingBehavior InLoadingBehavior
)
If Stream Caching is enabled, this can be used to override the default loading behavior of this USoundWave. This can even be called on USoundWaves that still have the RF_NeedLoad flag, and won't be stomped by serialization.
The new behavior will be ignored if it is less memory-aggressive than existing (even inherited) behavior