Navigation
API > API/Runtime > API/Runtime/UMG
Design-time preview information from the UMG Designer. Contains the current designer preview dimensions and derived orientation. Only populated at design time — all values are zeroed/false at runtime.
| Name | FWidgetDesignTimeInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetLayoutLibrary.h |
| Include Path | #include "Blueprint/WidgetLayoutLibrary.h" |
Syntax
USTRUCT (BlueprintType , MinimalAPI)
struct FWidgetDesignTimeInfo
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsPortrait | bool | True when the designer preview is in portrait orientation (height > width). | Blueprint/WidgetLayoutLibrary.h |
|
| PreviewSize | FVector2D | The current preview dimensions in the UMG Designer (width x height). | Blueprint/WidgetLayoutLibrary.h |
|