Skip to content
Version 2.32.0
↓ Get the launcher

ColorPickerElement record

HSV colour picker (SV square + hue bar + hex field). Get reflects the slot’s colour; a pick calls Set. The one hand-drawn custom widget.

public record ColorPickerElement : IEquatable<HudElement>
name description
ColorPickerElement(…) HSV colour picker (SV square + hue bar + hex field). Get reflects the slot’s colour; a pick calls Set. The one hand-drawn custom widget.
Get { get; set; }
Set { get; set; }
ShowAlpha { get; set; } Draw the Opacity (alpha) slider. Default true. Set false for a colour that has no alpha (e.g. a light’s colour) — the picker then shows only the SV square, hue bar and hex field. An init property (not a constructor parameter) so plugins built against the two-argument constructor keep loading.