From TouchDesigner Documentation
Jump to: navigation, search

Parameters in TouchDesigner only exist in Operators (OPs or "nodes"). Parameters include:

  • numbers, both integer and floating point
  • number pairs, triples or quadruples (e.g. width and height, XYZ position, RGBA color)
  • on-off flags
  • menus
  • text strings
  • paths to other nodes in TouchDesigner networks
  • buttons that initialize actions (uncommon)

Fields in dialogs and options to commands are not parameters.

Parameters can contain expressions and variables. The most common Tscript Expressions are the tab() group, which fetch from DAT tables, and the chop() group, which fetch from CHOP channels.

Parameters are also controlled by Exporting channels from CHOPs. In the example Parameter Dialog below, the Y-Translate parameter is being controlled via an export. This is indicated by the green color of the parameter in the dialog.

TIP: Pressing Ctrl-E/Cmd+E with the cursor in a parameter brings up the current parameter’s expression in the text editor, making it easier to see and edit long expressions.

Parameter Dialog.png

See also: Parameter Python Class, Parameter Dialog

An Operator Family that manipulates text strings: multi-line text or tables. Multi-line text is often a command Script, but can be any multi-line text. Tables are rows and columns of cells, each containing a text string.

An Operator Family which operate on Channels (a series of numbers) which are used for animation, audio, mathematics, simulation, logic, UI construction, and many other applications.

Any floating window that is not a Pane or Viewer.