Table of Contents

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

float

color

public Color color { get; }

Property Value

Color

hsl

public HSL hsl { get; }

Property Value

HSL

hue

public float hue { get; }

Property Value

float

lightness

public float lightness { get; }

Property Value

float

mouseSensitivity

public float mouseSensitivity { get; }

Property Value

float

saturation

public float saturation { get; }

Property Value

float

slowSensitivityScalar

The sensitivity of the mouse when holding the modifier keyboard shortcut to reduce the sensitivity.

public float slowSensitivityScalar { get; }

Property Value

float

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()