Class HSLLightnessSlider
- Namespace
- PAC.ColourPicker
A class for the lightness slider of the HSL colour picker.
public class HSLLightnessSlider : MonoBehaviour
- Inheritance
-
HSLLightnessSlider
Properties
lightness
public float lightness { get; }
Property Value
Methods
SetDisplayHueSaturation(float, float)
Sets the hue/saturation to use for displaying the lightness gradient.
public void SetDisplayHueSaturation(float hue, float saturation)
Parameters
SetLightness(float)
public void SetLightness(float lightness)
Parameters
lightness
float