logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IGameplayLoadingOverlayView

    Ui View that renders a fullscreen loading overlay during gameplay scene bootstrap. The concrete implementation owns all visual composition (background, progress bar, label, value) and their theme/localization bindings. Callers only express intent: show the overlay, push progress updates, and hide it once readiness is signalled.

    Namespace: Serenity.Ui.Application.Interfaces.Views
    Assembly: Serenity.Ui.Application.dll
    Syntax
    public interface IGameplayLoadingOverlayView

    Methods

    Hide()

    Hides and disposes the overlay. Safe to call when already hidden (no-op).

    Declaration
    void Hide()

    SetProgress(float)

    Pushes a normalized progress value in the range [0, 1] to the overlay. The implementation is responsible for translating it into the appropriate visual state (progress bar fill and percentage readout).

    Declaration
    void SetProgress(float normalized)
    Parameters
    Type Name Description
    float normalized

    Progress value in the range [0, 1].

    Show()

    Creates and displays the overlay. Safe to call when already shown (no-op).

    Declaration
    void Show()
    In this article
    © 2026 Serenity. All Rights Reserved