Wwise SDK 2024.1.0
|
Registers an array of add-on commands. Registered commands remain until the Wwise process is terminated. Refer to 명령어 추가 정의하기 for more information about registering commands. Also refer to ak.wwise.ui.commands.executed.
이름 | 타입 | 설명 |
---|---|---|
commands * | array | Data for the commands to be registered. An array of command add-ons. |
commands [...] | object | Specify a command add-on. |
commands[...].id * | string | 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. |
commands[...].displayName * | string | Defines the name displayed in the user interface. |
commands[...].program | string | Defines the program or script to run when the command is executed. Arguments are specified in 'args'. Note that common directories variables can be used, such as ${CurrentCommandDirectory}. |
commands[...].luaScript | string | Defines a lua script file path to run inside Wwise process when the command is executed. Arguments are specified in 'args'. Note that common directories variables can be used, such as ${CurrentCommandDirectory}. |
commands[...].luaPaths | array | Defines an array of paths to be used to load additional lua scripts. Here is an example of a lua path 'C:/path_to_folder/?.lua'. Note that common directories variables can be used, such as ${CurrentCommandDirectory}. Several values provided for the option. |
commands[...].luaPaths [...] | string | A value for the option. |
commands[...].luaSelectedReturn | array | Specifies an array of return expressions for the selected objects in Wwise. This will be available to the script in a lua table array in wa_args.selected. Several values provided for the option. |
commands[...].luaSelectedReturn [...] | string | A value for the option. |
commands[...].startMode | string | Specifies how to expand variables in the arguments field in case of multiple selection in the Wwise user interface. SingleSelectionSingleProcess: only support single selection, starts 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 selected item, in parallel. 각 실행 인스턴스는 하나의 선택된 요소를 받습니다. 사용 가능한 값:
|
commands[...].args | string | Defines the arguments. Refer to the documentation for the list of supported built-in variables. Note that in the event of a multiple selection, the variables are expanded based on the startMode field. Note that common directories variables can be used, such as ${CurrentCommandDirectory}. |
commands[...].cwd | string | Defines the current working directory to execute the program. Note that common directories variables can be used, such as ${CurrentCommandDirectory}. |
commands[...].defaultShortcut | string | Defines the shortcut to use by default for this command. If the shortcut conflicts, it won't be used. 이 단축키는 Keyboard Shortcut Manager에서 변경할 수 있습니다. |
commands[...].redirectOutputs | boolean | Defines if the standard output streams of the program (stdout + stderr) should be redirected and logged to Wwise on termination. 해당 값은 boolean 타입이며 기본값은 false입니다. |
commands[...].contextMenu | object | If present, specify how the command is added to Wwise context menus. If empty, no context menu is added. |
commands[...].contextMenu.basePath | string | Defines a forward-separated path for the parent sub menus. 비어있을 경우, 해당 메뉴가 맨 첫 단계에 삽입됩니다. |
commands[...].contextMenu.visibleFor | string | Defines a comma-separated list of the object types for which the item is visible. Refer to Wwise 오브젝트 레퍼런스 for the list of types supported. 비어있을 경우, 어느 타입이든 가능합니다. |
commands[...].contextMenu.enabledFor | string | Defines a comma-separated list of the object types for which the item is enabled. Refer to Wwise 오브젝트 레퍼런스 for the list of types supported. 비어있을 경우, 어느 타입이든 가능합니다. |
commands[...].mainMenu | object | If present, specify how the command is added to Wwise main menus. If empty, no main menu entry is added. |
commands[...].mainMenu.basePath * | string | Defines a forward-separated path for the parent sub menus. It must at least define one level, which is associated to the top menu. |
(필수 *)
Wwise Authoring API에 대한 더 자세한 정보는 Wwise Authoring API (WAAPI, Wwise 저작 API) 사용하기 를 참고하세요.
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요