logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum SplitScreenLayout

    Describes how the screen is partitioned among the active player viewports when split-screen is active. This is a pure layout intent — the actual per-player ViewportRect values are computed from it by SplitScreenLayoutCalculator.

    Namespace: Serenity.GameCamera.Domain.Enums
    Assembly: Serenity.GameCamera.Domain.dll
    Syntax
    public enum SplitScreenLayout

    Fields

    Name Description
    Horizontal

    Viewports are placed side by side, left to right (the screen is split horizontally).

    Manual

    The caller assigns viewport rects explicitly (via SetPlayerViewport); the calculator only seeds full-screen placeholders and does not compute a layout.

    Quadrants

    Viewports are arranged in up to four quadrants (a 2x2 grid).

    Single

    No screen split: every player slot gets the full screen (exclusive display).

    Vertical

    Viewports are stacked top to bottom (the screen is split vertically).

    In this article
    © 2026 Serenity. All Rights Reserved