版本
menu

Wwise SDK 2025.1.0
ak.wwise.ui.commands.execute

执行命令。有些命令可将一系列对象作为参数。See Wwise 设计工具命令标识符 for the available commands.

参数

名称 类型 说明
command * string 所要执行的命令的 ID。See Wwise 设计工具命令标识符 for the lists of commands.
objects array 此数组中包含一系列对象。每个对象都表示为对象的 ID (GUID)、名称或路径。有些命令可将多个对象作为参数。See the commands for more information.
objects [...] any of:
string 由类型或 Short ID 限定的对象名称,格式为 type:name 或 Global:shortId。仅支持采用全局唯一名称或 Short Id 的对象类型。例如:Event:Play_Sound_01, Global:245489792
string 以下形式的对象 GUID:{aabbcc00-1122-3344-5566-77889900aabb}。
string Wwise 对象的工程路径,包含类别和 Work Unit。For example: \Containers\Default Work Unit\New Sound SFX.
files array An array of files. Each object is an path to a file. Some commands can take files as arguments. See the commands for more information.
files [...] string A path to a file. Some commands can take files as arguments. See the commands for more information.
platforms array 此数组中包含一系列平台。每个平台都表示为 ID (GUID) 或唯一名称。有些命令可将多个平台作为参数。See the commands for more information.
platforms [...] any of:
string 对象的名称。
string 以下形式的对象 GUID:{aabbcc00-1122-3344-5566-77889900aabb}。
value any of: 要传给命令的值。有些命令可将值作为参数。See the commands for more information.
The value of a property.
null 空值。没有对对象的引用。
string 字符串值。
number 数字值。
boolean 布尔值。

(必填 *)

参数架构

另请参阅

示例

有关 Wwise Authoring API 的详细信息,请参阅 使用 Wwise Authoring API(WAAPI) 章节。


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅