docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Vector4

    Menu Path : Operator > Inline > Vector4

    The Vector4 inline Operator allows you to store an instance of a Vector4. This is one of the Visual Effect Graph's base Types. To modify a value in this inline Operator, either set the value explicitly in the Operator body, or connect it to a compatible output.

    You can use inline Operators to:

    • Store constant values (which you can also convert to Properties).
    • Be the destination for a combination of values from different inputs. In this case, the Operator acts as a "builder" which takes individual values and outputs a coherent object.
    • Cast between compatible types.
    • Perform redirections in large graphs (redirect only one long connection instead of multiple ones).

    Operator properties

    Input Type Description
    Input Vector4 The value of the Operator. You can either set this in the Operator's body, or connect to it from the output of another Operator.
    Output Type Description
    Output Vector4 The value of the Operator.

    Details

    You can convert this Operator to a Property or an Exposed Property. To do this, right-click on the Operator's header and select either Convert to Property or Convert to Exposed Property.

    You can also convert Properties and Exposed Properties to inline Operators. To do this, right-click the Property and select Convert to Inline.

    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)