バージョン

menu_open
Wwise SDK 2018.1.11

◆ RegisterListener()

AKRESULT __cdecl AK::SpatialAudio::RegisterListener ( AkGameObjectID  in_gameObjectID )

Assign a game object as the Spatial Audio listener. There can be only one Spatial Audio listener registered at any given time; in_gameObjectID will replace any previously set Spatial Audio listener. The game object passed in must be registered by the client, at some point, for sound to be heard. It is not necessary to be registered at the time of calling this function. If not listener is explicitly registered to spatial audio, then a default listener (set via AK::SoundEngine::SetDefaultListeners()) is selected. If the are no default listeners, or there are more than one default listeners, then it is necessary to call RegisterListener() to specify which listener to use with Spatial Audio.

引数
in_gameObjectID Game object ID

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう