USoundWave::OverrideLoadingBehavior

If Stream Caching is enabled, this can be used to override the default loading behavior of this [USoundWave](API\Runtime\Engine\Sound\USoundWave).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h

Include

#include "Sound/SoundWave.h"

Source

/Engine/Source/Runtime/Engine/Private/SoundWave.cpp

Syntax

void OverrideLoadingBehavior
(
    ESoundWaveLoadingBehavior InLoadingBehavior
)

Remarks

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss