engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
UAudio::IUnrealAudioModule类 参考

High-level unreal audio module for managing, playing, and updating audio in the unreal engine. 更多...

#include <UnrealAudioModule.h>

+ 类 UAudio::IUnrealAudioModule 继承关系图:

Public 成员函数

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.
 
- Public 成员函数 继承自 IModuleInterface
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()

virtual TSharedPtr< IEmitter > UAudio::IUnrealAudioModule::EmitterCreate ( )
inlinevirtual

Emitter create.

返回
An IEmitter object.

◆ 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.

参数
DeviceModuleNameName of the device module.
返回
true if it succeeds, false if it fails.

◆ VoiceCreate()

virtual TSharedPtr< IVoice > UAudio::IUnrealAudioModule::VoiceCreate ( const FVoiceInitializationParams &  Params)
inlinevirtual

Voice create.

参数
ParamsA variable-length parameters list containing parameters.
返回
An IVoice object.

该类的文档由以下文件生成: