The Function Wizard dialog box allows you to easily create Master Controller widgets that are programmed to control specific attributes in a node. It works by letting you select a type of widget, a type of operation, one or several nodes and the node attribute to control, and generates a fully functional Master Controller node that controls the selected attribute in the selected nodes.
The Function Wizard automatically generates the script to make your Master Controller work, so you don’t need to have scripting knowledge to use this wizard. However, it also allows you to customize the script it generates from within the wizard. Hence, users who are familiar with Harmony scripting can easily change or expand the capacities of the Master Controller they’re creating. They can use this wizard to create a “basic” Master Controller and use it as a foundation to develop a much more complex Master Controller. Users who are less familiar with scripting can also look at the script generated to learn how scripting with Master Controllers works.
To use the Function Wizard, you must first identify and select a node for which you want to create a widget. The resulting widget, which will appear in the Camera View, can be configured to perform the following operations:
- Control the value of one of a node’s numerical (scalar) attributes (e.g., horizontal position, vertical position, etc.)
- Control the value of one of a node’s 2D (vector) attributes (e.g., position, scale, etc.)
- Toggle whether a node is enabled or disabled
- Show or hide the controls for a node
- Show or hide the deformation controls for a deformation chain
Add the Master Controller toolbar to your workspace by doing one of the following:
- Right-click on an existing toolbar and select Master Controller.
- In the top menu, select Windows > Toolbars > Master Controller.
The Master Controller toolbar appears.
- In the Node or Timeline view, select the nodes that you want to control with a Master Controller.
In the Master Controller toolbar, click the Function Wizard button.