Visual Linking Previous Next Expression Nodes

Chapter 24, Expressions
Visual Linking Methods



You can visually link attributes within the Tool UI, in the Composition Browser or between the Tool UI and the Composition Browser. However, visual linking of structured inputs can only be done through the Composition Browser.

Visual Linking in the Tool UI Top

The Tool UI displays editors (value editors, toggle buttons or menus) and labels. Visual linking relies on the attribute labels as zones to trigger a link gesture. Labels are already used for marking.

To link the Red and Blue components of a color input in the same group:

In the same way, you can link inputs belonging to separate groups, setting an expression in the target attribute referring to the source input.

Show full-size image

Visual Linking in the Composition Browser Top

You can perform visual linking operations within the Composition Browser.

Linking Simple Inputs

Linking simple inputs in the Composition Browser works like in the tool UI; you can click and drag attribute names (labels) to define a link expression. Simple inputs are defined as those inputs that have only one socket name.

Show full-size image

Once the visual link has been established, the target attribute's value assumes that of the reference attribute. A green E then appears in the A column of the Composition Browser.

Show full-size image

Linking Structured Inputs

Linking structured inputs is done by dragging and dropping a structured input onto another. If the target structured input's topology doesn't match the source one, the drop is not accepted (i.e. the drop feedback is not given to you while dragging the pointer). The graphic below illustrates how an attribute with structured inputs (Master Gamma) can be visually linked with another attribute with structured attributes (Master Gain).

Show full-size image

When the source and target structured inputs match (that is, when they have the same number of inputs) an expression per input is set, linking inputs individually.

Show full-size image

Visual Linking between the Composition Browser and the Tool UI Top

You can initiate a drag from the Composition Browser and drop it on a label on the tool UI, linking the source and target attributes with an expression.

Show full-size image

Previous Next