バージョン

menu_open
Wwise SDK 2019.1.11
ak.wwise.ui.commands.register Arguments Schema

Schema

{
"additionalProperties": false,
"required": [
"commands"
],
"type": "object",
"properties": {
"commands": {
"items": {
"additionalProperties": false,
"required": [
"id",
"displayName"
],
"type": "object",
"description": "Specify a command add-on.",
"properties": {
"displayName": {
"type": "string",
"description": "Defines the name displayed in the user interface."
},
"contextMenu": {
"additionalProperties": false,
"type": "object",
"description": "If present, specify how the command is added to Wwise context menus. If empty, no context menu is added.",
"properties": {
"visibleFor": {
"type": "string",
"description": "Defines a comma-separated list of the object types for which the item is visible. Refer to \\ref wobjects_index for the list of types supported. If empty, any type is allowed."
},
"basePath": {
"type": "string",
"description": "Defines a forward-separated path for the parent sub menus. If empty, the menu is insert at first level."
},
"enabledFor": {
"type": "string",
"description": "Defines a comma-separated list of the object types for which the item is enabled. Refer to \\ref wobjects_index for the list of types supported. If empty, any type is allowed."
}
}
},
"args": {
"type": "string",
"description": "Defines the arguments. Refer to documentation for the built-in variables supported. Note that in case of multiple selection, the variables are expanded based on the startMode field."
},
"mainMenu": {
"additionalProperties": false,
"required": [
"basePath"
],
"type": "object",
"description": "If present, specify how the command is added to Wwise main menus. If empty, no main menu entry is added.",
"properties": {
"basePath": {
"type": "string",
"description": "Defines a forward-separated path for the parent sub menus. It must at least define one level, which is associated to the top menu."
}
}
},
"cwd": {
"type": "string",
"description": "Defines the current working directory to execute the program."
},
"program": {
"type": "string",
"description": "Defines the program or script to run when the command is executed. Arguments are specified in 'args'."
},
"defaultShortcut": {
"type": "string",
"description": "Defines the shortcut to use by default for this command. If the shortcut conflicts, it won't be used. This shortcut can be changed in the Keyboard Shortcut Manager."
},
"startMode": {
"enum": [
"SingleSelectionSingleProcess",
"MultipleSelectionSingleProcessSpaceSeparated",
"MultipleSelectionMultipleProcesses"
],
"type": "string",
"description": "Specifies how to expand variables in the arguments field in case of multiple selection in Wwise user interface. SingleSelectionSingleProcess: only support single selection, will start the program once. MultipleSelectionSingleProcessSpaceSeparated: program is started once with variables expanded to space separated arguments, each enclosed in double-quotes. MultipleSelectionMultipleProcesses: program is started once per item selected, in parallel. Each running instance receives one selected item."
},
"id": {
"type": "string",
"description": "Defines a human readable unique ID for the command. To reduce risk of ID conflicts, please use a concatenation of the author name, the product name and the command name."
}
}
},
"type": "array",
"description": "Data for the commands to be registered.\\n An array of command add-ons."
}
}
}

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう