An extension can open any UMG Widget in its own window, next to the SkyReal VR window or on a chosen monitor. Use it for a dashboard on a second screen, a control panel beside a powerwall, or a detached tool palette. These windows are shown on the PC screens, not in the VR headset.
Open a window
All the nodes are on the Skr Multi Window Subsystem (search for Get SkrMultiWindowSubsystem in your Blueprint). Open a window with one of these four nodes:
|
Node |
Use it when |
|---|---|
|
Open Widget In Window From Class Relative |
You want a new widget, placed relative to the SkyReal VR window. It returns the created widget and the window handle. |
|
Open Widget In Window Relative |
You already have the widget (it is removed from its current parent first). |
|
Open Widget In Window From Class On Monitor |
You want a new widget on a specific monitor. |
|
Open Widget In Window On Monitor |
You already have the widget and want it on a specific monitor. |
Keep the returned Window Handle: the other nodes need it.
|
Node |
Role |
|---|---|
|
Close Window |
Closes the window of a handle. |
|
Close All Windows |
Closes every window opened by the subsystem. |
|
Is Window Open |
Returns false once the window is closed, including when the user closes it. |
|
Try Get Window Position |
Returns the top-left corner of the window, in desktop coordinates. |
|
Get Monitors Info |
Lists the connected monitors (see below). |
All windows close automatically when the level ends.
Window options
Most options are advanced pins: click the arrow at the bottom of the node to show them.
|
Option |
Description |
|---|---|
|
Window Title |
Text of the title bar. |
|
Window Size |
Size of the window content, in pixels. |
|
Auto Size |
Fits the window to the widget content. The window can no longer be resized. |
|
Resizable, Supports Minimize, Supports Maximize |
What the user can do with the window. All enabled by default. |
|
Should Preserve Aspect Ratio |
Keeps the ratio of Window Size when the user resizes the window. Requires Resizable, no Auto Size, and a valid Window Size. |
|
Border Mode |
Unreal Border (default): Unreal title bar. OS Border: Windows title bar. No Border: no title bar, useful for a full-screen display. |
Placement relative to the SkyReal VR window
The Relative nodes take a Placement, a Placement Spacing (gap in pixels between the two windows) and a Placement Offset (extra shift in pixels):
|
Placement |
Position of the new window |
|---|---|
|
Default |
Centered on the screen. |
|
Centered |
Centered on the SkyReal VR window. |
|
Above, Below |
Above or below the SkyReal VR window, horizontally centered. |
|
Left, Right |
Beside the SkyReal VR window, vertically centered. |
|
Top Left, Bottom Left |
On the left of the SkyReal VR window, aligned with its top or bottom edge. |
|
Top Right, Bottom Right |
On the right of the SkyReal VR window, aligned with its top or bottom edge. |
Placement on a monitor
The On Monitor nodes take a Monitor Index and a Monitor Position: the position of the window from the top-left corner of that monitor, in pixels.
Get Monitors Info returns one entry per monitor, in the order used by Monitor Index:
|
Field |
Description |
|---|---|
|
Monitor Index |
Index to pass to the On Monitor nodes. |
|
Name, ID |
Identify the monitor. |
|
Is Primary |
True for the main Windows display. |
|
Resolution, Native Resolution |
Current and native size of the display, in pixels. |
|
Screen Position |
Top-left corner of the monitor in desktop coordinates. It can be negative for a secondary monitor. |
|
Work Area Position, Work Area Size |
Usable area, without the taskbar. |
|
DPI |
Dots per inch, or 0 if unknown. |
Monitor indexes can change when a display is connected or disconnected. To target the same screen every time, find it by Name, ID or Is Primary, then use its Monitor Index.
Example: full screen on a second monitor
-
Call Get Monitors Info and pick the first entry whose Is Primary is false.
-
Call Open Widget In Window From Class On Monitor with your widget class, its Monitor Index, a Monitor Position of (0, 0), its Resolution as Window Size, and Border Mode set to No Border.
-
Store the Window Handle and call Close Window when the display is no longer needed.
Common issues
-
Nothing opens: check the Output Log for a
OpenWidgetInWindowInternalwarning. The widget must be valid and created in the current world (use the player controller or the current world as owner), and the Monitor Index must exist. -
The aspect ratio is not kept: Should Preserve Aspect Ratio is ignored with Auto Size, without Resizable, or with an empty Window Size.
-
The window opens on the wrong screen: the monitor indexes changed. Find the monitor by name or ID (see above).