Enum HudRepresentationKind
How a bound HUD value is turned into something on screen.
Namespace: Serenity.GameUi.Domain.Types
Assembly: Serenity.GameUi.Domain.dll
Syntax
public enum HudRepresentationKind
Fields
| Name | Description |
|---|---|
| FLEXBOX | A container that lays other elements out along its own grow direction, flexbox-style. Reads no value
of its own; the elements placed inside it (via their authored |
| FRACTION_PART | The fractional part of the value, floored and zero-padded to a fixed digit count — the small, fast-ticking half paired with INTEGER_PART. |
| GAUGE | A continuous fill bar. Requires a capacity binding. |
| ICON_SET | A sprite chosen from a set by the value. |
| INTEGER_PART | The floored integer part of the value, with a chosen minimum digit count and grouping — the large half of a value split across two elements. |
| LABEL | A fixed, translatable piece of text that reads no value — a standalone label. The text is the element's caption, which carries the translation flag. |
| NUMBER | The value as a number, with a chosen precision, padding and grouping. |
| SEGMENTED | A row of discrete pips. Requires a capacity binding. |
| SPRITE | A fixed sprite that reads no value at all — decoration, a frame, a divider. |
| STACK | One sprite repeated per unit, collapsing to "sprite xN" past a threshold. |
| TEXT | The value's text, optionally wrapped in a prefix and suffix. |
| TIME | The value as a duration. |