Yotsuba Games
Back to Guide
Guide

Variables & Controllers

Drive many node parameters from a single place — share values like "outline color" or "base size" across the whole project.

Variables

Create and manage them in the variables panel (Ctrl+Alt+V, left toolbar).

The variables panel: created variables can be edited and deleted

  • "+ New variable" creates a typed variable (float / int / color / enum...). You also set the display name, control style (slider etc.), range (min/max/step), initial value, and a comment

The new-variable dialog: type, name, control, range, and initial value

  • Bind a parameter to a variable from the inspector and it follows the variable's value

When to use them

  • Mass-producing variations: make color or size a variable and export with only the variable changing
  • One value used by many nodes (line thickness, light angle) managed in one place

Parameter controllers

  • param_controller — routes an upstream output value into another node's parameter. Combine with waveforms to drive several nodes at once

Promotion

  • Parameters inside a custom node can be promoted (exposed) so the packaged graph is adjustable from the outside (→ 11 Custom Nodes & Library)
Variables & Controllers — PixPipeline User Guide