docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operators

    Operators are the atomic elements of the Property Workflow. These Nodes allow you to define custom expressions in Visual Effect Graphs that you can use to create custom behaviors. For instance compute values from math operations and use the result of these operations to sample curves, gradients, to use the resulting values into Block or Context input Properties.

    A graph with a chain of connected Operators. A VFX Time Operator outputs Total Time to the A property of a Multiply (float) Operator. That Operator connects to the Coordinates property of a Value Noise 3D Operator. An Add (Position - Local) Operator then adds the Derivatives output of the Value Noise 3D Operator and the output of a Position Operator. The Add Operator connects to the Position parameter of a Set Position On Circle Context.

    Adding Operator Nodes

    You can add Operator Nodes in the followings ways:

    • In the Create Node Menu:
      • Right-click in an empty space and select Create Node from the menu.
      • Right-click on a edge and selecting Create Node from the menu.
      • Press the Spacebar key when the cursor is in an empty space.
      • Drag an Edge Connection from a Property, then release in an empty space.
    • Duplicate Nodes:
      • Select Duplicate in the Context menu (or Ctrl+D).
      • Copy, Cut and Paste the Operator from Context menu (or Ctrl+C/Ctrl+X then Ctrl+V).

    Configuring Operators

    When you change the Operator Settings in the Node UI or the Inspector, the Operator changes how it looks and behaves.

    For example, when you change the Cull Mode of a Position (Depth) Operator from None to Range, Unity adds an extra Depth Range property to the Operator.

    Uniform Operators

    Uniform Operators are Nodes that you can use with a single input of a Variable Type. For example, you can use absolute values for a float, a Vector3 or an Integer.

    The output type of any Uniform Operator is always the same as its input Type. Connecting a new input with a different type will change automatically the output type of the operator. If you want to manually set the Node to a specific type, see Configuring Uniform Operators.

    Configuring Uniform Operators

    Press the Options icon in the top-right corner to switch the Node view to Configuration mode. In this mode you can manually change the operator Type.

    Unified Operators

    In addition to the Uniform Operators, some operators with many inputs can handle multiple inputs of Variable Types. These Nodes are called Unified Operators.

    For example, the Lerp Operator can interpolate between two Vectors uniformly based on a float or every component using a Vector of the Same Length.

    Unified Operators have type constraints but allow some flexibility in order to adapt to some variety of types.

    Configuring Unified Operators

    Press the Options icon in the top-right corner to switch the Node view to Configuration mode. In this mode you can manually change the operator Types for every input. In some cases, changing one input type will change another input type in order to maintain compatibility.

    Cascaded Operators

    Cascaded Operators process a variable input count. These operators can process many outputs and handle different input Types, like Unified Operators

    For example, the Add Node allows you to add many inputs of different types using a single Node.

    You can connect many inputs to a Cascaded Operator. To add a new item to the list, connect an edge to the last gray input at the bottom of the Node. This creates a new input that uses the property type you connected.

    When you delete a connection, Unity also removes the input property from the list. However you can also delete an input property manually using the Configuration Mode.

    Configuring Cascaded Operators

    Press the Options icon in the top-right corner to switch the Node view to Configuration mode. In this mode you can:

    • Rename Inputs using their Text Field.
    • Change Input Types using the type Dropdown.
    • Reorder Inputs by dragging the Handle on the left of each input line.
    • Manually Add Inputs using the "+" button.
    • Delete Selected Input using the "-" button.

    Did you find this page useful? Please give it a rating:

    Thanks for rating this page!

    Report a problem on this page

    What kind of problem would you like to report?

    • This page needs code samples
    • Code samples do not work
    • Information is missing
    • Information is incorrect
    • Information is unclear or confusing
    • There is a spelling/grammar error on this page
    • Something else

    Thanks for letting us know! This page has been marked for review based on your feedback.

    If you have time, you can provide more information to help us fix the problem faster.

    Provide more information

    You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:

    You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:

    You've told us there is information missing from this page. Please tell us more about what's missing:

    You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:

    You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:

    You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:

    You've told us this page has a problem. Please tell us more about what's wrong:

    Thank you for helping to make the Unity documentation better!

    Your feedback has been submitted as a ticket for our documentation team to review.

    We are not able to reply to every ticket submitted.

    In This Article
    • Adding Operator Nodes
    • Configuring Operators
    • Uniform Operators
      • Configuring Uniform Operators
    • Unified Operators
      • Configuring Unified Operators
    • Cascaded Operators
      • Configuring Cascaded Operators
    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)