Class TemperatureSliderUIDrawer
Helper to draw a temperature slider on the inspector
Inherited Members
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 |