版本

menu_open
Wwise SDK 2018.1.11

◆ StopMIDIOnEventSync()

virtual AKRESULT AK::IAkGlobalPluginContext::StopMIDIOnEventSync ( AkUniqueID  in_eventID = AK_INVALID_UNIQUE_ID,
AkGameObjectID  in_gameObjectID = AK_INVALID_GAME_OBJECT 
)
pure virtual

Stops MIDI notes on all nodes that are referenced in the specified event in an action of type play, with the specified Game Object. Invalid parameters are interpreted as wildcards. For example, calling this function with in_eventID set to AK_INVALID_UNIQUE_ID will stop all MIDI notes for Game Object in_gameObjectID.

备注
This function stops the MIDI notes without going through the message queue. In order to do so it acquires the global Wwise sound engine lock. It should therefore only be called from one of the global engine hooks (see AK::IAkGlobalPluginContext::RegisterGlobalCallback). Use AK::IAkGlobalPluginContext::GetIDFromString() if you use event names (strings).
参见
参数
in_eventID Unique ID of the Event
in_gameObjectID Associated game object ID

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅