Table of Contents

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

float

Methods

SetDisplayHueSaturation(float, float)

Sets the hue/saturation to use for displaying the lightness gradient.

public void SetDisplayHueSaturation(float hue, float saturation)

Parameters

hue float
saturation float

SetLightness(float)

public void SetLightness(float lightness)

Parameters

lightness float