Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USoundWave
Description
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. NOTE: The new behavior will be ignored if it is less memory-aggressive than existing (even inherited) behavior
| Name | OverrideLoadingBehavior |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h |
| Include Path | #include "Sound/SoundWave.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SoundWave.cpp |
void OverrideLoadingBehavior
(
ESoundWaveLoadingBehavior InLoadingBehavior
)