docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TemperatureSliderUIDrawer

    Helper to draw a temperature slider on the inspector

    Inheritance
    object
    TemperatureSliderUIDrawer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public class TemperatureSliderUIDrawer

    Methods

    ClampValue(SerializedProperty)

    Clamp to the authorized range of the temperature slider

    Declaration
    public static void ClampValue(SerializedProperty value)
    Parameters
    Type Name Description
    SerializedProperty value

    The serialized property

    Draw(Settings, SerializedObject, SerializedProperty, Rect)

    Draws a temperature slider

    Declaration
    public static void Draw(LightEditor.Settings settings, SerializedObject serializedObject, SerializedProperty value, Rect rect)
    Parameters
    Type Name Description
    LightEditor.Settings settings

    The light settings

    SerializedObject serializedObject

    The serialized object

    SerializedProperty value

    The serialized property

    Rect rect

    The rect where the slider will be drawn

    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)