Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/USlateBlueprintLibrary
Description
Transforms absolute coordinates into local coordinates
Absolute coordinates could be either desktop or window space depending on what space the root of the widget hierarchy is in.
| Name | AbsoluteToLocal |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/SlateBlueprintLibrary.h |
| Include Path | #include "Blueprint/SlateBlueprintLibrary.h" |
| Source | /Engine/Source/Runtime/UMG/Private/SlateBlueprintLibrary.cpp |
UFUNCTION (BlueprintPure, Category="User Interface|Geometry",
Meta=(DisplayName="Absolute to Local (Coordinates)", Keywords="transform"))
static FVector2D AbsoluteToLocal
(
const FGeometry & Geometry,
FVector2D AbsoluteCoordinate
)
Transforms AbsoluteCoordinate into the local space of this Geometry.