版本
menu

Wwise SDK 2025.1.0
AkCmd_DynamicSequence_Open结构体 参考

#include <AkCommandTypes.h>

Public 属性

AkPlayingID playingID
 Unique ID that will be associated with this playback. Use AK_SoundEngine_GeneratePlayingID() to generate a new unique playing ID. 更多...
 
AkGameObjectID gameObjectID
 (optional) Associated game object ID 更多...
 
AkDynamicSequenceType_t type
 Type: see AkDynamicSequenceType 更多...
 
AkUInt32 flags
 Bitmask: see AkCallbackType 更多...
 
AkEventCallbackFunc callback
 Callback function 更多...
 
void * callbackCookie
 Callback cookie 更多...
 

详细描述

Open a new Dynamic Sequence.

If AK_DynamicSequenceSelect bit is set in flags, the dynamic sequence uses the callback for determining the next item to play. If this bit is not set, then the dynamic sequence uses the Playlist to determine the next item to play (C++-only API).

This command can fail for the following reasons:

  • AK_InvalidParameter: playingID is an invalid ID or type is not a valid dynamic sequence type.
  • AK_InsufficientMemory: Not enough memory to process the command.
  • AK_IDNotFound: gameObjectID was specified but is not registered.
  • AK_ResourceInUse: playingID was already used for a previous entry.
参见

在文件 AkCommandTypes.h777 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅