RealDocs

29 results for "viewport"

function
USlateBlueprintLibrary::AbsoluteToViewport UMG

Converts an absolute desktop-space coordinate into both viewport pixel space and UMG viewport widget space.

function
UUserWidget::AddToViewport UMG

Adds this widget to the game's main viewport so it is visible on screen.

function
UWidgetLayoutLibrary::GetMousePositionOnViewport UMG

Returns the current mouse cursor position in the local coordinate space of the viewport widget.

function
UGameplayStatics::GetViewportMouseCaptureMode Engine

Returns the current mouse capture mode of the game viewport, indicating how the cursor is constrained during gameplay.

function
UWidgetLayoutLibrary::GetViewportScale UMG

Returns the DPI scale factor currently applied to the game viewport.

function
UWidgetLayoutLibrary::GetViewportSize UMG

Returns the current size of the game viewport in pixels.

function
UWidgetLayoutLibrary::GetViewportWidgetGeometry UMG

Returns the FGeometry of the root viewport widget — the container that holds all widgets added via AddToViewport.

function
USlateBlueprintLibrary::LocalToViewport UMG

Converts a local widget coordinate into both game-viewport pixel space and UMG viewport widget space in a single call.

function
USlateBlueprintLibrary::ScreenToViewport UMG

Converts a screen-pixel coordinate directly into UMG viewport widget space, suitable for positioning widgets added via AddToViewport at the same logical location.

function
UUserWidget::SetDesiredSizeInViewport UMG

Overrides the size of the widget when it is placed in the viewport via AddToViewport.

function
UUserWidget::SetPositionInViewport UMG

Sets the position of this widget within the viewport.

function
UGameplayStatics::SetViewportMouseCaptureMode Engine

Sets how the game viewport captures the mouse cursor.

function
AActor::ShouldTickIfViewportsOnly Engine

Returns whether this actor should tick in editor viewports (TickType == LEVELTICK_ViewportsOnly).

function
APawn::ShouldTickIfViewportsOnly Engine

Returns whether this pawn should tick while the editor is open but not in Play-in-Editor mode (viewport-only).

function
UUserWidget::AddToPlayerScreen UMG

Adds the widget to the player-owned screen layer rather than the global viewport.

function
UGameplayStatics::GetEnableWorldRendering Engine

Returns whether world rendering is currently enabled on the local viewport.

function
UWidgetLayoutLibrary::GetPlayerScreenWidgetGeometry UMG

Returns the FGeometry of the player-screen widget container for a specific player.

function
UActorComponent::NeedsLoadForEditorGame Engine

Returns whether this component must be loaded when running the game from the editor (Play-In-Editor).

function
AActor::PushSelectionToProxies Engine

Propagates the current editor selection state down to all primitive scene proxies owned by this actor, causing the viewport to render the selection highlight correctly.

function
UUserWidget::RemoveFromParent UMG

Removes this widget from its parent — either the viewport or a containing panel widget.

function
ACharacter::RootMotionDebugClientPrintOnScreen_Implementation Engine

Implementation body for the RootMotionDebugClientPrintOnScreen RPC.

function
USlateBlueprintLibrary::ScreenToWidgetAbsolute UMG

Converts a screen-pixel position into absolute Slate application coordinates without knowing the target widget's geometry.

function
UGameplayStatics::SetForceDisableSplitscreen Engine

Forces the viewport to suppress splitscreen layout regardless of the number of local players.

function
APlayerController::SetInputMode (Game Only) Engine

Switches input routing so that all input goes exclusively to the game (player controller and pawn) with no Slate/UMG widget focus.

function
APlayerController::SetShowMouseCursor Engine

Shows or hides the hardware mouse cursor over the viewport.

function
AGameModeBase::SwapPlayerControllers Engine

Swaps a player's viewport and network connection from the old PlayerController to a newly spawned one during seamless travel when the controller class has changed between levels.

class
USlateBlueprintLibrary UMG

Blueprint function library exposing Slate geometry and coordinate conversion utilities to Blueprints and C++.

class
UUserWidget UMG

The base class for all Blueprint UI widgets.

class
UWidgetLayoutLibrary UMG

A Blueprint function library providing utility functions for querying viewport size, DPI scale, mouse position, and for projecting world-space locations into widget space.