In: Atomic Nodes
Value since SD 2019.1.0
Input nodes are a special type of node that creates a dynamic slot in your graph, allowing for any input to be connected once your Graph is used in another context.Unlike Output Nodes, you have to explicitely place either a Color, Grayscale or Value input. It is not possible to create your own "agnostic" inputs that change type depending on what is connected to them.
Input Nodes are not as crucial as Output Nodes: you can have perfectly functioning, advanced Graphs that have no need for an Input. Inputs are only used when you want to base your Graph or Node Instance's result on an external input, for example when creating an Instance or a Filter for Painter.
By default an Input Color or Grayscale returns black if nothing is plugged in. You can either set a different default value, or drag an existing Bitmap Resource from the Explorer onto the Input Node in your graph, to preview this data in the slot. This only works for Color and Grayscale Inputs. The default value is persistent when used in other contexts, the preview bitmap is discarded everywhere else.
If you want to see it with the outputs of another Graph, you'll have to either export that Graph to Bitmap for the above method, or make use of "In-Context" editing.
- PKG Resource Path:
Points to a custom bitmap resource for previewing.
- Default Value: Color/Grayscale
Lets you use another value than black as default input, if nothing is connected to this slot. Since SD 2020.2
The only mandatory, unique Attribute. Can not contains spaces.
This one is used for labeling inputs if no Label is set up, and for telling different outputs apart. Don't just leave these at "input_1"!
Optional Description used in Designer's library and Painter's shelf.
UI Label used for nice labeling in Designer and Painter UI. Can contain spaces. Recommended to set up with a name similar to the Identifier, just with spacebars instead of underscores.
- User Data
Additional, optional User Data that can be used for specific filtering operations, Basically a wildcard, custom data field.
Group Attribute used to group inputs together for Designer's Link Creation Modes. Inputs with an identical (case-sensitive) Group Attribute, will be presented as a single connection in Compact Material Mode.
Additionally the Usage attributes are also used with Link Creation Modes, to match the correct input and output slots.
This determines what channels are actually in the resulting input.
The most important one of the three: this sets what data this slot represents and will be matched to a connecting output slot's Usage.
- Color Space
Sets the colorspace this input should be interpreted in.