docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Utility nodes

    Enable essential logic operations, previews, and sub-graph referencing.

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

    Logic

    Topic Description
    All Returns true if all components of the input In are non-zero.
    And Returns true if both the inputs A and B are true.
    Any Returns true if any of the components of the input In are non-zero.
    Branch Provides a dynamic branch to the shader.
    Comparison Compares the two input values A and B based on the condition selected on the dropdown.
    Is Infinite Returns true if any of the components of the input In is an infinite value.
    Is NaN Returns true if any of the components of the input In is not a number (NaN).
    Nand Returns true if both the inputs A and B are false.
    Not Returns the opposite of input In. If In is true, the output is false. Otherwise, it returns true.
    Or Returns true if either input A or input B is true.
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)