Add custom parameters
add_custom_parametersAppend knobs, sliders, toggles, menus, pulses, RGB, or XYZ parameters to a TouchDesigner COMP to make networks tunable and reusable. Existing parameters are skipped, not overwritten.
Instructions
Append a custom-parameter page (knobs, sliders, toggles, menus, pulses, RGB, XYZ) to a COMP so a generated network becomes a tunable, reusable component. Point comp_path at the COMP and list the params; an existing parameter is skipped (reported as a warning), not overwritten. Pair with scaffold_extension for behavior and manage_component to save the result as a .tox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp_path | Yes | The COMP to add custom parameters to. | |
| page | No | Custom-parameter page name (auto-capitalized; created if missing). | Custom |
| params | Yes | The parameters (knobs/menus/toggles/pulses) to append. |