High-level unreal audio module for managing, playing, and updating audio in the unreal engine.
更多...
#include <UnrealAudioModule.h>
|
| virtual TSharedPtr< IEmitter > | EmitterCreate () |
| | Emitter create. 更多...
|
| |
|
virtual int32 | GetNumSoundFilesLoaded () const |
| | Returns the number of sound files currently loaded
|
| |
|
virtual int32 | GetNumSoundFilesStreamed () const |
| | Returns the number of sound files currently streamed
|
| |
|
virtual int32 | GetSoundFileNumBytes () const |
| | Returns the number of total bytes of sound files loaded
|
| |
|
virtual float | GetSoundFilePercentageOfTargetMemoryLimit () const |
| | Returns the percentage of loaded memory as fraction of target memory limit
|
| |
| virtual bool | Initialize () |
| | Initializes this object. 更多...
|
| |
| virtual bool | Initialize (const FString &DeviceModuleName) |
| | Initializes this object. 更多...
|
| |
|
virtual void | LogSoundFileMemoryInfo () const |
| | Logs sound file information
|
| |
|
virtual void | Shutdown () |
| | Shuts down this object and frees any resources it is using.
|
| |
|
virtual void | Update () |
| | Updates this object.
|
| |
| virtual TSharedPtr< IVoice > | VoiceCreate (const FVoiceInitializationParams &Params) |
| | Voice create. 更多...
|
| |
|
virtual | ~IUnrealAudioModule () |
| | Destructor.
|
| |
| virtual bool | IsGameModule () const |
| | Returns true if this module hosts gameplay code 更多...
|
| |
|
virtual void | PostLoadCallback () |
| | Called after the module has been reloaded
|
| |
|
virtual void | PreUnloadCallback () |
| | Called before the module has been unloaded
|
| |
| virtual void | ShutdownModule () |
| | Called before the module is unloaded, right before the module object is destroyed. 更多...
|
| |
| virtual void | StartupModule () |
| | Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. 更多...
|
| |
| virtual bool | SupportsAutomaticShutdown () |
| | Override this to set whether your module would like cleanup on application shutdown 更多...
|
| |
| virtual bool | SupportsDynamicReloading () |
| | Override this to set whether your module is allowed to be unloaded on the fly 更多...
|
| |
|
virtual | ~IModuleInterface () |
| | Note: Even though this is an interface class we need a virtual destructor here because modules are deleted via a pointer to this interface
|
| |
High-level unreal audio module for managing, playing, and updating audio in the unreal engine.
◆ EmitterCreate()
◆ Initialize() [1/2]
| virtual bool UAudio::IUnrealAudioModule::Initialize |
( |
| ) |
|
|
inlinevirtual |
Initializes this object.
- 返回
- true if it succeeds, false if it fails.
◆ Initialize() [2/2]
| virtual bool UAudio::IUnrealAudioModule::Initialize |
( |
const FString & |
DeviceModuleName | ) |
|
|
inlinevirtual |
Initializes this object.
- 参数
-
| DeviceModuleName | Name of the device module. |
- 返回
- true if it succeeds, false if it fails.
◆ VoiceCreate()
Voice create.
- 参数
-
| Params | A variable-length parameters list containing parameters. |
- 返回
- An IVoice object.
该类的文档由以下文件生成: