![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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 TCHAR * | EnumToString (ESoundWaveLoadingBehavior InCurrentState) |
|
strong |
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 | |
| ENGINE_API const TCHAR * EnumToString | ( | ESoundWaveLoadingBehavior | InCurrentState | ) |