Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/Runtime/UMG/Blueprint/USlateBlueprintLibrary
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Blueprint/SlateBlueprintLibrary.h |
Include | #include "Blueprint/SlateBlueprintLibrary.h" |
Source | /Engine/Source/Runtime/UMG/Private/SlateBlueprintLibrary.cpp |
UFUNCTION (BlueprintPure, Category="User Interface|Geometry",
Meta=(WorldContext="WorldContextObject", DisplayName="ScreenToAbsolute"))
static void ScreenToWidgetAbsolute
(
UObject * WorldContextObject,
FVector2D ScreenPosition,
FVector2D & AbsoluteCoordinate,
bool bIncludeWindowPosition
)
Remarks
Translates a screen position in pixels into absolute application coordinates. If bIncludeWindowPosition is true, then this method will also remove the game window's position (useful when in windowed mode).