버전

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.

Parameters
in_gameObjectID Game object ID

이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요