Default Solid node
Note
Use this node only in shaders with Material set to UI for UI Toolkit. Using it elsewhere can lead to unexpected behavior or errors. For information on how to create shaders for UI Toolkit, refer to UI Shader Graph.
Outputs the solid color specified for your UI elements, such as the background color of a button. For example, if you set the background color of a button to yellow, the Default Solid node outputs yellow for that button.
You can use this node combined with other nodes to create custom effects for the Solid color render type. For example, you can multiply the output of this node with a Color node to filter unwanted colors.
Ports
Name | Direction | Type | Description |
---|---|---|---|
Solid | Output | Color | The solid color specified for the UI element. |