Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Documentation~/Utility-Nodes.md
2024-05-06 11:45:45 -07:00

1.6 KiB

Utility Nodes

Preview Sub-Graph
Image Image
Provides a preview window and passes the input value through without modification. Provides a reference to a Sub-graph asset.

Logic

All And
Image Image
Returns true if all components of the input In are non-zero. Returns true if both the inputs A and B are true.
Any Branch
Image Image
Returns true if any of the components of the input In are non-zero. Provides a dynamic branch to the shader.
Comparison Is Infinite
Image Image
Compares the two input values A and B based on the condition selected on the dropdown. Returns true if any of the components of the input In is an infinite value.
Is NaN Nand
Image Image
Returns true if any of the components of the input In is not a number (NaN). Returns true if both the inputs A and B are false.
Not Or
Image Image
Returns the opposite of input In. If In is true, the output is false. Otherwise, it returns true. Returns true if either input A or input B is true.