Vector 1 Node | Package Manager UI website
docs.unity.cn
    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;
    
    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX