Class HSLColourPicker
- Namespace
- PAC.ColourPicker
A class for the HSL colour picker.
public class HSLColourPicker : MonoBehaviour
- Inheritance
-
HSLColourPicker
Properties
alpha
public float alpha { get; }
Property Value
color
public Color color { get; }
Property Value
- Color
hsl
public HSL hsl { get; }
Property Value
hue
public float hue { get; }
Property Value
lightness
public float lightness { get; }
Property Value
mouseSensitivity
public float mouseSensitivity { get; }
Property Value
saturation
public float saturation { get; }
Property Value
slowSensitivityScalar
The sensitivity of the mouse when holding the modifier keyboard shortcut to reduce the sensitivity.
public float slowSensitivityScalar { get; }
Property Value
Methods
SetColour(Color)
public void SetColour(Color colour)
Parameters
colour
Color
SubscribeToOnColourChange(UnityAction)
Event invoked when the selected colour changes.
public void SubscribeToOnColourChange(UnityAction call)
Parameters
call
UnityAction
UpdateColour()
public void UpdateColour()