Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UPanelSlot
Description
Called by the designer to "nudge" a widget in a direction. Returns true if the nudge had any effect, false otherwise.
Derived Overrides
- UCanvasPanelSlot::NudgeByDesigner
- UGridSlot::NudgeByDesigner
- UHorizontalBoxSlot::NudgeByDesigner
- UStackBoxSlot::NudgeByDesigner
- UUniformGridSlot::NudgeByDesigner
- UVerticalBoxSlot::NudgeByDesigner
| Name | NudgeByDesigner |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/PanelSlot.h |
| Include Path | #include "Components/PanelSlot.h" |
virtual bool NudgeByDesigner
(
const FVector2D & NudgeDirection,
const TOptional < int32 > & GridSnapSize
)