バージョン

menu_open
Wwise SDK 2023.1.2

◆ GetEmitterListenerPair()

virtual AKRESULT AK::IAkGameObjectPluginInfo::GetEmitterListenerPair ( AkUInt32  in_uIndex,
AkEmitterListenerPair out_emitterListenerPair 
) const
pure virtual

Retrieve the emitter-listener pair (ray) of the game object at index in_uIndex. Call GetNumEmitterListenerPairs() prior to this function to get the total number of emitter-listener pairs of the game object. The emitter-listener pair is expressed as the game object's position relative to the listener, in spherical coordinates.

覚え書き
  • The distance takes game object and listener scaling factors into account.
  • Returned distance and angles are those of the game object, and do not necessarily correspond to any sound's positioning data.
戻り値
AK_Fail if the index is invalid, AK_Success otherwise.
参照
引数
in_uIndexIndex of the pair, [0, GetNumEmitterListenerPairs()[
out_emitterListenerPairReturned relative source position in spherical coordinates.

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

サポートは必要ですか?

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

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

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

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

Wwiseからはじめよう