UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SoundWaveLoadingBehavior.h File Reference
#include "CoreTypes.h"
#include "UObject/ObjectMacros.h"
#include "SoundWaveLoadingBehavior.generated.h"

Go to the source code of this file.

Enumerations

enum class  ESoundWaveLoadingBehavior : uint8 {
  Inherited = 0 , RetainOnLoad = 1 , PrimeOnLoad = 2 , LoadOnDemand = 3 ,
  ForceInline = 4 UMETA(DisplayName = "Force Inline") , Uninitialized = 0xff UMETA(Hidden)
}
 

Functions

ENGINE_API const TCHAREnumToString (ESoundWaveLoadingBehavior InCurrentState)
 

Enumeration Type Documentation

◆ ESoundWaveLoadingBehavior

Only used when stream caching is enabled. Determines how we are going to load or retain a given audio asset. A USoundWave's loading behavior can be overridden in the USoundWave itself, the sound wave's USoundClass, or by cvars. The order of priority is defined as: 1) The loading behavior set on the USoundWave 2) The loading behavior set on the USoundWave's USoundClass. 3) The loading behavior set on the nearest parent of a USoundWave's USoundClass. 4) The loading behavior set via the au.streamcache cvars.

Enumerator
Inherited 
RetainOnLoad 
PrimeOnLoad 
LoadOnDemand 
ForceInline 
Uninitialized 

Function Documentation

◆ EnumToString()

ENGINE_API const TCHAR * EnumToString ( ESoundWaveLoadingBehavior  InCurrentState)