docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct LightUnitSliderUIDescriptor

    Descriptor for Light Unit

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public struct LightUnitSliderUIDescriptor

    Constructors

    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

    Fields

    aboveRangeTooltip

    The tooltip if the value goes above the range

    Declaration
    public readonly string aboveRangeTooltip
    Field Value
    Type Description
    string

    belowRangeTooltip

    The tooltip if the value goes below the range

    Declaration
    public readonly string belowRangeTooltip
    Field Value
    Type Description
    string

    clampValue

    If the value needs to be clamp

    Declaration
    public readonly bool clampValue
    Field Value
    Type Description
    bool

    hasMarkers

    If has markers

    Declaration
    public readonly bool hasMarkers
    Field Value
    Type Description
    bool

    sliderDistribution

    The distribution

    Declaration
    public readonly float[] sliderDistribution
    Field Value
    Type Description
    float[]

    sliderRange

    The ranges that the slider can have

    Declaration
    public readonly Vector2 sliderRange
    Field Value
    Type Description
    Vector2

    unitName

    The name of the unit

    Declaration
    public readonly string unitName
    Field Value
    Type Description
    string

    valueRanges

    The ranges that the value can have

    Declaration
    public readonly LightUnitSliderUIRange[] valueRanges
    Field Value
    Type Description
    LightUnitSliderUIRange[]

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    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)