docs.unity3d.com
    Show / Hide Table of Contents

    Line

    Menu Path : Operator > Inline > Line

    The Line inline Operator allows you to store an instance of a Line. This is one of the Visual Effect Graph's advanced 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 Line 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 Line 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
    • Operator properties
    • Details
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023