logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum HudUpdateTrigger

    What makes a HUD element re-read its bindings.

    Namespace: Serenity.GameUi.Domain.Types
    Assembly: Serenity.GameUi.Domain.dll
    Syntax
    public enum HudUpdateTrigger
    Remarks

    Serenity's services expose snapshots rather than change events, so polling is the general case. The trigger exists so that most elements can poll far below frame rate, and so an element whose data does have a matching signal can stop polling altogether.

    Fields

    Name Description
    EVERY_FRAME

    Re-read once per frame.

    INTERVAL

    Re-read on a fixed interval.

    ON_SIGNAL

    Re-read only when a named signal is dispatched.

    In this article
    © 2026 Serenity. All Rights Reserved