Constructor LightUnitSliderUIDescriptor
LightUnitSliderUIDescriptor(LightUnitSliderUIRange[], float[], string, string, bool, bool)
Constructor
Declaration
public LightUnitSliderUIDescriptor(LightUnitSliderUIRange[] valueRanges, float[] sliderDistribution, string cautionTooltip, string unitName, bool hasMarkers = true, bool clampValue = false)
Parameters
Type | Name | Description |
---|---|---|
LightUnitSliderUIRange[] | valueRanges | The ranges that the value can have |
float[] | sliderDistribution | The distribution |
string | cautionTooltip | Tooltip for caution |
string | unitName | The name of the unit |
bool | hasMarkers | If has markers |
bool | clampValue | If the value will be clamped to the valueRanges |
LightUnitSliderUIDescriptor(LightUnitSliderUIRange[], float[], string, string, string, bool, bool)
Constructor
Declaration
public LightUnitSliderUIDescriptor(LightUnitSliderUIRange[] valueRanges, float[] sliderDistribution, string belowRangeTooltip, string aboveRangeTooltip, string unitName, bool hasMarkers = true, bool clampValue = false)
Parameters
Type | Name | Description |
---|---|---|
LightUnitSliderUIRange[] | valueRanges | The ranges that the value can have |
float[] | sliderDistribution | The distribution |
string | belowRangeTooltip | The tooltip if the value goes below the range |
string | aboveRangeTooltip | The tooltip if the value goes above the range |
string | unitName | The name of the unit |
bool | hasMarkers | If has markers |
bool | clampValue | If the value will be clamped to the valueRanges |