版本

menu_open
Wwise SDK 2019.2.15

◆ SendPluginCustomGameData()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::SendPluginCustomGameData ( AkUniqueID  in_busID,
AkGameObjectID  in_busObjectID,
AkPluginType  in_eType,
AkUInt32  in_uCompanyID,
AkUInt32  in_uPluginID,
const void *  in_pData,
AkUInt32  in_uSizeInBytes 
)

Sends custom game data to a plug-in that resides on a bus (insert Effect or mixer plug-in). Data will be copied and stored into a separate list. Previous entry is deleted when a new one is sent. Sets the data pointer to NULL to clear item from the list.

备注: The plug-in type and ID is passed and matched with plugins set on the desired bus. This means that you cannot send different data to various instances of the plug-in on a same bus.
返回
AK_Success if data was sent successfully.
参数
in_busID Bus ID
in_busObjectID Bus Object ID. Pass AK_INVALID_GAME_OBJECT to send custom data with global scope. Game object scope supersedes global scope, as with RTPCs.
in_eType Plug-in type (for example, source or effect)
in_uCompanyID Company identifier (as declared in the plug-in description XML file)
in_uPluginID Plug-in identifier (as declared in the plug-in description XML file)
in_pData The data blob
in_uSizeInBytes Size of data

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅