SMenuAnchor::ComputeNewWindowMenuPlacement

Computes the placement geometry for menus displayed in a separately created window

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Input/SMenuAnchor.h

Include

#include "Widgets/Input/SMenuAnchor.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/Input/SMenuAnchor.cpp

Syntax

FGeometry ComputeNewWindowMenuPlacement
(
    const FGeometry & AllottedGeometry,
    const FVector2D & PopupDesiredSize,
    EMenuPlacement PlacementMode
) const

Remarks

Computes the placement geometry for menus displayed in a separately created window

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