Table of Contents

Class ColorPickerHSV

Namespace
RichHudFramework.UI
Assembly
RichHudClient.dll

A named color picker using sliders designed to mimic the appearance of the Space Engineers terminal color picker.

Operating in HSV mode (Hue, Saturation, Value). Alpha (transparency) is not supported.

public class ColorPickerHSV : ColorPickerRGB, IReadOnlyHudElement, IReadOnlyHudNode, IReadOnlyHudParent, IValueControl<Color>, IValueControl<Vector3>, IValueControl
Inheritance
ColorPickerHSV
Implements
Inherited Members

Constructors

ColorPickerHSV(HudParentBase)

public ColorPickerHSV(HudParentBase parent = null)

Parameters

parent HudParentBase

Properties

ColorHSV

Gets or sets the currently selected color in HSV format. Setting this value will automatically update the positions of the sliders.

X = Hue (0-360), Y = Saturation (0-100), Z = Value (0-100).

public Vector3 ColorHSV { get; set; }

Property Value

Vector3

ColorHSVNorm

Gets or sets the currently selected color in normalized HSV format. Setting this value will automatically update the positions of the sliders.

X = Hue (0-1), Y = Saturation (0-1), Z = Value (0-1).

public Vector3 ColorHSVNorm { get; set; }

Property Value

Vector3

Value

Gets or sets the color currently specified by the picker. Setting this value will automatically update the positions of the sliders.

public override Color Value { get; set; }

Property Value

Color

Explicit Interface Implementations

IValueControl<Vector3>.Value

Gets the currently selected color in HSV format.

X = Hue (0-360), Y = Saturation (0-100), Z = Value (0-100).

Vector3 IValueControl<Vector3>.Value { get; }

Returns

Vector3