logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.GameUi.Domain.ValueObjects

    Structs

    HudOffset

    A pixel offset from a HUD element's anchor, expressed in the project's reference resolution. Positive X is right, positive Y is up, regardless of which corner the element is anchored to — the anchor decides the origin, this decides the nudge.

    HudState

    Immutable snapshot of the HUD (Heads-Up Display) state. Represents what the HUD should display, not how it is rendered.

    HudValueTransform

    Reshapes a bound value before it reaches a representation: SCALE_AND_OFFSET applies a linear value * multiplier + offset, and REMAP_RANGE maps one range onto another.

    ResultsState

    Immutable snapshot of the results screen state. Represents what the results screen should display after a session ends.

    UiScreenId

    Stable identifier for a UI screen. Immutable value object that supports equality comparison and hashing.

    In this article
    © 2026 Serenity. All Rights Reserved