版本

    其他文档

menu_open
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.

Note:
  • 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.
Returns:
AK_Fail if the index is invalid, AK_Success otherwise.
See also:
Parameters:
in_uIndex  Index of the pair, [0, GetNumEmitterListenerPairs()[
out_emitterListenerPair  Returned relative source position in spherical coordinates.

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅