FGeometry::IsUnderLocation

Absolute coordinates could be either desktop or window space depending on what space the root of the widget hierarchy is in.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/Geometry.h

Include

#include "Layout/Geometry.h"

Syntax

bool IsUnderLocation
(
    const FVector2D & AbsoluteCoordinate
) const

Remarks

Absolute coordinates could be either desktop or window space depending on what space the root of the widget hierarchy is in.

Returns

true if the provided location in absolute coordinates is within the bounds of this geometry.

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