Geometry

Geometry

Choose your operating system:

Windows

macOS

Linux

On this page

Actions

Absolute to Local

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

Target is Slate Blueprint Library

Absolute to Viewport

Translates absolute coordinate in desktop space of the geometry provided into local viewport coordinates.

Target is Slate Blueprint Library

Get Absolute Size

Returns the size of the geometry in absolute space.

Target is Slate Blueprint Library

Get Local Size

Returns the size of the geometry in local space.

Target is Slate Blueprint Library

Get Local Top Left

Returns the local top/left of the geometry in local space.

Target is Slate Blueprint Library

Is Under Location

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

Target is Slate Blueprint Library

Local to Absolute

Translates local coordinates into absolute coordinates

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

Target is Slate Blueprint Library

Local to Viewport

Translates local coordinate of the geometry provided into local viewport coordinates.

Target is Slate Blueprint Library

Screen to Viewport

Translates a screen position in pixels into the local space of the viewport widget.

Target is Slate Blueprint Library

ScreenToAbsolute

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).

Target is Slate Blueprint Library

ScreenToLocal

Translates a screen position in pixels into the local space of a widget with the given geometry. If bIncludeWindowPosition is true, then this method will also remove the game window's position (useful when in windowed mode).

Target is Slate Blueprint Library

Transform Scalar Absolute to Local

Transform Scalar Absolute to Local

Target is Slate Blueprint Library

Transform Scalar Local to Absolute

Transform Scalar Local to Absolute

Target is Slate Blueprint Library

Transform Vector Absolute to Local

Transform Vector Absolute to Local

Target is Slate Blueprint Library

Transform Vector Local to Absolute

Transform Vector Local to Absolute

Target is Slate Blueprint Library