UWidgetLayoutLibrary::GetViewportWidgetGeometry

Gets the geometry of the widget holding all widgets added to the "Viewport".

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetLayoutLibrary.h

Include

#include "Blueprint/WidgetLayoutLibrary.h"

Source

/Engine/Source/Runtime/UMG/Private/WidgetLayoutLibrary.cpp

Syntax

static FGeometry GetViewportWidgetGeometry
(
    UObject * WorldContextObject
)

Remarks

Gets the geometry of the widget holding all widgets added to the "Viewport". You can use this geometry to convert between absolute and local space of widgets held on this widget.

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