docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct LightUnitSliderUIRange

    The UI range of the slider

    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 LightUnitSliderUIRange

    Constructors

    LightUnitSliderUIRange(Texture2D, string, Vector2)

    Constructor

    Declaration
    public LightUnitSliderUIRange(Texture2D icon, string tooltip, Vector2 value)
    Parameters
    Type Name Description
    Texture2D icon

    The icon

    string tooltip

    The tooltip

    Vector2 value

    The min and max values

    LightUnitSliderUIRange(Texture2D, string, Vector2, float)

    Constructor

    Declaration
    public LightUnitSliderUIRange(Texture2D icon, string tooltip, Vector2 value, float presetValue)
    Parameters
    Type Name Description
    Texture2D icon

    The icon

    string tooltip

    The tooltip

    Vector2 value

    The min and max values

    float presetValue

    The value given by the preset

    Fields

    content

    The content

    Declaration
    public GUIContent content
    Field Value
    Type Description
    GUIContent

    presetValue

    The value of the preset

    Declaration
    public float presetValue
    Field Value
    Type Description
    float

    value

    The value

    Declaration
    public Vector2 value
    Field Value
    Type Description
    Vector2

    Methods

    CautionRange(string, float)

    Constructor

    Declaration
    public static LightUnitSliderUIRange CautionRange(string tooltip, float value)
    Parameters
    Type Name Description
    string tooltip

    The tooltip

    float value

    The min and max values

    Returns
    Type Description
    LightUnitSliderUIRange

    A configured LightUnitSliderUIRange instance representing a caution range.

    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)