版本
menu

Wwise SDK 2025.1.0
AkDynamicSequenceSelectCallbackInfo结构体 参考

#include <AkCallbackTypes.h>

Public 属性

AkUniqueID audioNodeID
 Unique ID of Audio Node (can be resolved using AK::SoundEngine::DynamicDialogue API). Set to AK_INVALID_UNIQUE_ID to signal that no item is available to play. 更多...
 
AkTimeMs msDelay
 Delay before playing this item, in milliseconds 更多...
 
void * pCustomInfo
 Optional user data 更多...
 
AkExternalSourceArray arExternalSources
 Optional external sources. Use API described in AkExternalSourceArray.h to add required external sources to play the next item. 更多...
 

详细描述

Callback information structure corresponding to AK_DynamicSequenceSelect. Called when a dynamic sequence must select its next item to play. The callee is expected to fill out the information contained in this structure. If there is no item available to play, the callee must set audioNodeID to AK_INVALID_UNIQUE_ID. This will cause the dynamic sequence to stop. Use AK::SoundEngine::DynamicSequence::Play to start playback again.

警告: When opening a dynamic sequence with the callback flag AK_DynamicSequenceSelect, the callback is the ONLY way to determine the next item to play. AK::SoundEngine::DynamicSequence::LockPlaylist always returns NULL for dynamic sequences opened with AK_DynamicSequenceSelect.
参见

在文件 AkCallbackTypes.h327 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅