Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FSoundWaveCompilingManager |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/SoundWaveCompiler.h |
| Include Path | #include "SoundWaveCompiler.h" |
Syntax
class FSoundWaveCompilingManager : private IAssetCompilingManager
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSoundWaveCompilingManager() |
SoundWaveCompiler.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasShutdown | bool | SoundWaveCompiler.h | ||
| Lock | FRWLock | SoundWaveCompiler.h | ||
| Notification | TUniquePtr< FAsyncCompilationNotification > | Notification for the amount of pending sound wave compilations | SoundWaveCompiler.h | |
| RegisteredSoundWaves | TSet< TWeakObjectPtr< USoundWave > > | SoundWaveCompiler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSoundWaves
(
TArrayView< USoundWave*const > InSoundWaves |
Adds sound waves compiled asynchronously so they are monitored. | SoundWaveCompiler.h | |
void FinishCompilation
(
TArrayView< USoundWave*const > InSoundWaves |
Blocks until completion of the requested sound waves. | SoundWaveCompiler.h | |
EQueuedWorkPriority GetBasePriority
(
USoundWave* InSoundWave |
Returns the priority at which the given sound waves should be scheduled. | SoundWaveCompiler.h | |
int32 GetNumRemainingSoundWaves() |
Returns the number of outstanding sound wave compilations. | SoundWaveCompiler.h | |
FQueuedThreadPool * GetThreadPool() |
Returns the threadpool where sound waves compilation should be scheduled. | SoundWaveCompiler.h | |
bool IsAsyncCompilationAllowed
(
USoundWave* InSoundWave |
Returns if asynchronous compilation is allowed for this sound wave. | SoundWaveCompiler.h | |
bool IsAsyncSoundWaveCompilationEnabled() |
Returns true if the feature is currently activated. | SoundWaveCompiler.h |
Overridden from IAssetCompilingManager
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void FinishAllCompilation() |
Blocks until completion of all async texture compilation. | SoundWaveCompiler.h | |
virtual void ProcessAsyncTasks
(
bool bLimitExecutionTime |
Called once per frame, fetches completed tasks and actives them in the world. | SoundWaveCompiler.h | |
virtual void Shutdown() |
Cancel any pending work and blocks until it is safe to shut down. | SoundWaveCompiler.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FSoundWaveCompilingManager & Get() |
SoundWaveCompiler.h | ||
static FName GetStaticAssetTypeName() |
Get the name of the asset type this compiler handles | SoundWaveCompiler.h |