mathe/Library/PackageCache/com.unity.shadergraph@14.0.8/Documentation~/Utility-Nodes.md
2024-09-20 20:30:10 +02: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.