docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MinFloatShaderProperty

    MinFloatShaderProperty(MaterialEditor, MaterialProperty, GUIContent, float)

    Draw a property field for a float shader property.

    Declaration
    public static void MinFloatShaderProperty(this MaterialEditor editor, MaterialProperty prop, GUIContent label, float min)
    Parameters
    Type Name Description
    MaterialEditor editor

    MaterialEditor

    MaterialProperty prop

    The MaterialProperty to make a field for

    GUIContent label

    Label for the property

    float min

    The minimum value the user can specify

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)