版本
menu

Wwise SDK 2025.1.3

◆ StopMIDIOnEvent()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::StopMIDIOnEvent ( AkUniqueID  in_eventID = AK_INVALID_UNIQUE_ID,
AkGameObjectID  in_gameObjectID = AK_INVALID_GAME_OBJECT,
AkPlayingID  in_playingID = AK_INVALID_PLAYING_ID 
)

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.

返回
  • AK_Success if the stop command was queued
  • AK_IDNotFound if the Event ID is unknown (not loaded or typo in the ID)
参见
参数
in_eventIDUnique ID of the Event
in_gameObjectIDAssociated game object ID
in_playingIDTarget playing ID

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅