MeterRowElement record
One bespoke CombatMeter row — the borderless, role-coloured, animated meter row (HP spine + class crest + name·spec·share line + role-coloured metric bar with a per-second/total overlay + self highlight + offline scrim). The framework reproduces the custom visual that the IMGUI MeterRowView drew, so the meter keeps its distinct look (it does NOT ride the generic Row/Bar primitives). Data is re-pulled on the window’s capped refresh (poll-diffed) — the plugin snapshots its per-combatant state so the Func never allocates. Fixed 48-px row height; width fills the row. Compose inside a ListElement.
public record MeterRowElement : IEquatable<HudElement>Public Members
Section titled “Public Members”| name | description |
|---|---|
| MeterRowElement(…) | One bespoke CombatMeter row — the borderless, role-coloured, animated meter row (HP spine + class crest + name·spec·share line + role-coloured metric bar with a per-second/total overlay + self highlight + offline scrim). The framework reproduces the custom visual that the IMGUI MeterRowView drew, so the meter keeps its distinct look (it does NOT ride the generic Row/Bar primitives). Data is re-pulled on the window’s capped refresh (poll-diffed) — the plugin snapshots its per-combatant state so the Func never allocates. Fixed 48-px row height; width fills the row. Compose inside a ListElement. |
| BackingOpacity { get; set; } | Opacity (0..1) of the row’s dark BACKING only, Rounded rows only (framework 2.33.0): the rounded row tile, the self row’s accent wash tile (keeps its accent colour), the recessed bar track, the HP-spine track, the empty status-effect cells and the recessed empty-slot tile. The bar fill, crest, labels, icons, filled effect tiles, the self accent ring and the RowBorder ring are not faded (the ring still marks the self row). Multiplied into the row’s own alphas (and the window opacity). Clamped; a throw or NaN = 1. Polled with the row’s refresh, repainted only on a change. Null (the default) = unchanged. Init property, NOT a ctor param (binary-compatible); a Classic row ignores it. |
| Data { get; set; } | Per-combatant row snapshot, re-pulled on the window’s capped refresh. |
| Density { get; set; } | Row size, Rounded rows only (framework 2.33.0). Normal (the default) is the 48 px row, unchanged. Compact and Mini are one-line rows whose metric bar becomes the row’s fill (see the enum). Chosen once when the row is built, like Style — to switch at runtime, build one row set per size behind a ConditionalElement (branches build lazily, so an unused size costs nothing). Init property, NOT a ctor param (binary-compatible); a Classic row ignores it. |
| OnRightClick { get; set; } | Optional: invoked when the row is right-clicked (CombatMeter row context menu); null = no menu. |
| Style { get; set; } | Visual style of the row. Classic (the default) is the original flat meter row, so every plugin built before this property existed renders byte-identical. Rounded opts in to the Stellar Design Language look (rounded theme tile, rounded spine/bar, accent self ring, recessed empty slot). Chosen once when the row is built. Init property, NOT a ctor param, so the record’s primary constructor stays binary-compatible. |
See Also
Section titled “See Also”- record HudElement
- namespace Stellar.Abstractions.Services