< Previous | Contents | Next >
Querying Inputs
Like MainInputs on the Flow, Inputs can be connected to other Outputs like Published Inputs, Animated Inputs, or Modifiers. Although not represented with a FlowView, a similar connection flow is possible with all Inputs. The main difference being that MainInputs deal with Image data, Masks, Data3D, Particle Streams while regular Inputs deal with Numbers, Points, and Text etc.
All Inputs, regardless of being MainInputs or not can be listed via tool:GetInputList(). All Outputs can be listed with tool:GetOutpuList(). In both cases, an optional filter of the DataType can be specified. Additionally if the name is known the Input and Output can be accessed directly as property of the tool. If you mouse hover over an Input, the status bar will show the name. E.g. to access the Gain Input of a BrightnessContrast tool use: BrightnessContrast1.Gain