版本

menu_open
Wwise SDK 2023.1.3

◆ SetDefaultListeners()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::SetDefaultListeners ( const AkGameObjectID in_pListenerObjs,
AkUInt32  in_uNumListeners 
)

Sets the default set of associated listeners for game objects that have not explicitly overridden their listener sets. Upon registration, all game objects reference the default listener set, until a call to AddListener, RemoveListener, SetListeners or SetGameObjectOutputBusVolume is made on that game object. All default listeners that have previously been added via AddDefaultListener or set via SetDefaultListeners will be removed and replaced with the listeners in the array in_pListenerGameObjs.

返回
Always returns AK_Success
参见
参数
in_pListenerObjsArray of listener game object IDs that will be activated for subsequent registrations. Game objects must have been previously registered.
in_uNumListenersLength of array

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅