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

    Integer Node

    Description

    Defines a constant Vector 1 value in the shader using an Integer field. Can be converted to a Vector 1 type Property with a Mode setting of Integer via the Node's context menu.

    Ports

    Name Direction Type Binding Description
    Out Output Vector 1 None Output value

    Controls

    Name Type Options Description
    Integer Defines the output value.

    Generated Code Example

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

    float _Integer = 1;
    
    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX