Viewport

Viewport

Windows
MacOS
Linux
On this page

Actions

Add to Player Screen

Adds the widget to the game's viewport in a section dedicated to the player. This is valuable in a split screen game where you need to only show a widget over a player's portion of the viewport.

Target is User Widget

Add to Viewport

Adds it to the game's viewport and fills the entire screen, unless SetDesiredSizeInViewport is called to explicitly set the size.

Target is User Widget

Get Alignment in Viewport

Get Alignment in Viewport

Target is User Widget

Get Anchors in Viewport

Get Anchors in Viewport

Target is User Widget

Set Alignment in Viewport

Set Alignment in Viewport

Target is User Widget

Set Anchors in Viewport

Set Anchors in Viewport

Target is User Widget

Set Desired Size in Viewport

Set Desired Size in Viewport

Target is User Widget

Set Position in Viewport

Sets the widgets position in the viewport.

Target is User Widget

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss