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
Declaration
public GUIContent content
Field Value
| Type | Description | 
|---|---|
| GUIContent | 
presetValue
Declaration
public float presetValue
Field Value
| Type | Description | 
|---|---|
| Single | 
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 |