docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Slider Node

    Description

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

    Ports

    Name Direction Type Binding Description
    Out Output Float None Output value

    Controls

    Name Type Options Description
    Slider Defines the output value.
    Min Float Defines the slider parameter's minimum value.
    Max Float Defines the slider parameter's maximum value.

    Generated Code Example

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

    float _Slider_Out = 1.0;
    
    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)