Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components > API/Runtime/UMG/Components/UWidget
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/Widget.h |
| Include | #include "Components/Widget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Components/Widget.cpp |
UFUNCTION (BlueprintCallable, Category="Widget")
void ForceLayoutPrepass()
Remarks
Forces a pre-pass. A pre-pass caches the desired size of the widget hierarchy owned by this widget. One pre-pass already happens for every widget before Tick occurs. You only need to perform another pre-pass if you are adding child widgets this frame and want them to immediately be visible this frame.