版本

menu_open
警告:系统已根据您所用大版本 (2018.1.11.6987) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
Wwise SDK 2018.1.11

◆ QuerySoundPropagationPaths()

AKRESULT __cdecl AK::SpatialAudio::QuerySoundPropagationPaths ( AkGameObjectID  in_gameObjectID,
AkVector out_listenerPos,
AkVector out_emitterPos,
AkPropagationPathInfo out_aPaths,
AkUInt32 io_uArraySize 
)

Query information about the sound propagation state for a particular listener and emitter, which has been calculated using the data provided via the rooms and portals API. This function can be used for debugging purposes. This function must acquire the global sound engine lock and therefore, may block waiting for the lock.

参见
参数
in_gameObjectID The ID of the game object that the client wishes to query.
out_listenerPos Returns the position of the listener game object that is associated with the game object in_gameObjectID.
out_emitterPos Returns the position of the emitter game object in_gameObjectID.
out_aPaths Pointer to an array of AkPropagationPathInfo's which will be filled after returning.
io_uArraySize The number of slots in out_aPaths, after returning the number of valid elements written.

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅