docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Float Node

    Description

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

    Ports

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

    Generated Code Example

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

    float _Vector1_Out = X;
    
    In This Article
    Back to top
    Copyright © 2024 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)