docs.unity3d.com
    Show / Hide Table of Contents

    Struct LightUnitSliderUIRange

    The UI range of the slider

    Namespace: UnityEditor.Rendering
    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, Single)

    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

    Single 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
    Single

    value

    The value

    Declaration
    public Vector2 value
    Field Value
    Type Description
    Vector2

    Methods

    CautionRange(String, Single)

    Constructor

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

    The tooltip

    Single value

    The min and max values

    Returns
    Type Description
    LightUnitSliderUIRange

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023