docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor LightUnitSliderUIDescriptor

    LightUnitSliderUIDescriptor(LightUnitSliderUIRange[], float[], string, string, bool, bool)

    Constructor

    Declaration
    public LightUnitSliderUIDescriptor(LightUnitSliderUIRange[] valueRanges, float[] sliderDistribution, string cautionTooltip, string unitName, bool hasMarkers = true, bool clampValue = false)
    Parameters
    Type Name Description
    LightUnitSliderUIRange[] valueRanges

    The ranges that the value can have

    float[] sliderDistribution

    The distribution

    string cautionTooltip

    Tooltip for caution

    string unitName

    The name of the unit

    bool hasMarkers

    If has markers

    bool clampValue

    If the value will be clamped to the valueRanges

    LightUnitSliderUIDescriptor(LightUnitSliderUIRange[], float[], string, string, string, bool, bool)

    Constructor

    Declaration
    public LightUnitSliderUIDescriptor(LightUnitSliderUIRange[] valueRanges, float[] sliderDistribution, string belowRangeTooltip, string aboveRangeTooltip, string unitName, bool hasMarkers = true, bool clampValue = false)
    Parameters
    Type Name Description
    LightUnitSliderUIRange[] valueRanges

    The ranges that the value can have

    float[] sliderDistribution

    The distribution

    string belowRangeTooltip

    The tooltip if the value goes below the range

    string aboveRangeTooltip

    The tooltip if the value goes above the range

    string unitName

    The name of the unit

    bool hasMarkers

    If has markers

    bool clampValue

    If the value will be clamped to the valueRanges

    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)