Vector 1 Node | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Vector 1 Node

    Description

    Defines a Vector 1 value in the shader. If Port X is not connected with an Edge this Node defines a constant Vector 1.

    Ports

    Name Direction Type Binding Description
    X Input Vector 1 None Input x component value
    Out Output Vector 1 None Output value

    Generated Code Example

    The following example code represents one possible outcome of this node.

    float _Vector1_Out = X;
    
    In This Article
    • Description
    • Ports
    • Generated Code Example
    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