UWidget
#include "Components/Widget.h" Description
The abstract base class for all UMG widgets. Every widget in the widget tree inherits from UWidget, which wraps an underlying Slate SWidget and exposes it to the UObject/Blueprint system.
Caveats & Gotchas
- • UWidget is abstract — you cannot instantiate it directly; use concrete subclasses such as UButton, UTextBlock, or UUserWidget.
- • The underlying Slate SWidget may not exist yet when a UWidget is first created. Functions that access the SWidget (GetCachedGeometry, GetDesiredSize, etc.) return default values until at least one layout pass has occurred.
Functions (6)
Rendering 3 ▼
| Access | Type | Name |
|---|---|---|
| public | function | UWidget::SetRenderScale |
| public | function | UWidget::SetRenderTransformAngle |
| public | function | UWidget::SetRenderTransform |
Geometry 3 ▼
| Access | Type | Name |
|---|---|---|
| public | function | UWidget::GetCachedGeometry |
| public | function | UWidget::GetPaintSpaceGeometry |
| public | function | UWidget::GetTickSpaceGeometry |
Members
Tags
Version History
Introduced in: 4.4
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?