版本

menu_open
警告:系统已根据您所用大版本 (2024.1.2.8726) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
Wwise SDK 2024.1.2
ak.wwise.ui.commands.execute 参数架构

架构

{
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "所要执行的命令的 ID。如需查看命令列表,请参阅 \\ref globalcommandsids 章节。"
},
"objects": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^(StateGroup|SwitchGroup|SoundBank|GameParameter|Event|Effect|AudioDevice|Trigger|Attenuation|DialogueEvent|Bus|AuxBus|Conversion|ModulatorLfo|ModulatorEnvelope|ModulatorTime|Platform|Language|AcousticTexture|Global):[a-zA-Z0-9_]+$",
"description": "由类型或 Short ID 限定的对象名称,格式为 type:name 或 Global:shortId。仅支持采用全局唯一名称或 Short Id 的对象类型。例如:Event:Play_Sound_01, Global:245489792"
},
{
"type": "string",
"pattern": "^\\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\\}$",
"description": "以下形式的对象 GUID:{aabbcc00-1122-3344-5566-77889900aabb}。"
},
{
"type": "string",
"pattern": "^\\\\",
"description": "Wwise 对象的工程路径,包含类别和 Work Unit。例如:\\\\Actor-Mixer Hierarchy\\\\Default Work Unit\\\\New Sound SFX。"
}
]
},
"description": "此数组中包含一系列对象。每个对象都表示为对象的 ID (GUID)、名称或路径。有些命令可将多个对象作为参数。有关详细信息,请参阅相应命令。"
},
"platforms": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z_]+[a-zA-Z_0-9()]*$",
"description": "对象的名称。"
},
{
"type": "string",
"pattern": "^\\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\\}$",
"description": "以下形式的对象 GUID:{aabbcc00-1122-3344-5566-77889900aabb}。"
}
]
},
"description": "此数组中包含一系列平台。每个平台都表示为 ID (GUID) 或唯一名称。有些命令可将多个平台作为参数。有关详细信息,请参阅相应命令。"
},
"value": {
"description": "要传给命令的值。有些命令可将值作为参数。有关详细信息,请参阅相应命令。\\n 属性的值。",
"anyOf": [
{
"type": "null",
"description": "空值。没有对对象的引用。"
},
{
"type": "string",
"description": "字符串值。"
},
{
"type": "number",
"description": "数字值。"
},
{
"type": "boolean",
"description": "布尔值。"
}
]
}
},
"required": [
"command"
],
"additionalProperties": false
}

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅