class
FSplitScreenLayout
- Module
- Game
- Header
#include "Game/SplitScreenLayout.h"- Namespace
Mowo
Public functions
| Returns | Name | Description |
|---|---|---|
ESplitScreenLayout | AutoLayoutForCount | Which concrete layout an N-player split defaults to: 1 = Single, 2 = Horizontal, 3-4 = Quad. |
int32_t | Compute | Fill out with one rect per player (up to 4) and return how many were written. |
const char* | LayoutName |
Function details
AutoLayoutForCount
C++
static ESplitScreenLayout AutoLayoutForCount(int32_t playerCount)Which concrete layout an N-player split defaults to: 1 = Single, 2 = Horizontal, 3-4 = Quad.
Compute
C++
static int32_t Compute(ESplitScreenLayout layout, int32_t playerCount, uint32_t screenW, uint32_t screenH, FViewportRect out[4])Fill out with one rect per player (up to 4) and return how many were written. layout == Auto resolves through AutoLayoutForCount. A player count past what the layout holds is clamped; a count below it leaves the trailing panes unwritten.
LayoutName
C++
static const char* LayoutName(ESplitScreenLayout layout)Generated from Game/SplitScreenLayout.h via game.json · Nov 5, 2026Version 1.0.0