バージョン

menu_open
Wwise SDK 2023.1.2

◆ 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からはじめよう