Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FGeometry
Description
Get the local position on the surface of the geometry using normalized coordinates. (0,0) - upper left (1,1) - bottom right
Example: Say you wanted to know the center of the widget in local space, GetLocalPositionAtCoordinates(FVector2f(0.5f, 0.5f));
| Name | GetLocalPositionAtCoordinates |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h |
| Include Path | #include "Layout/Geometry.h" |
UE::Slate::FDeprecateVector2DResult GetLocalPositionAtCoordinates
(
const UE::Slate::FDeprecateVector2DParameter & NormalCoordinates
) const