![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UserWidget.h>
Public Member Functions | |
| UMG_API | FPaintContext () |
| FPaintContext (const FGeometry &InAllottedGeometry, const FSlateRect &InMyCullingRect, FSlateWindowElementList &InOutDrawElements, const int32 InLayerId, const FWidgetStyle &InWidgetStyle, const bool bInParentEnabled) | |
| void | operator= (const FPaintContext &Other) |
Public Attributes | |
| const FGeometry & | AllottedGeometry |
| const FSlateRect & | MyCullingRect |
| FSlateWindowElementList & | OutDrawElements |
| int32 | LayerId |
| const FWidgetStyle & | WidgetStyle |
| bool | bParentEnabled |
| int32 | MaxLayer |
The state passed into OnPaint that we can expose as a single painting structure to blueprints to allow script code to override OnPaint behavior.
| FPaintContext::FPaintContext | ( | ) |
Don't ever use this constructor. Needed for code generation.
|
inline |
|
inline |
We override the assignment operator to allow generated code to compile with the const ref member.
| const FGeometry& FPaintContext::AllottedGeometry |
| bool FPaintContext::bParentEnabled |
| int32 FPaintContext::LayerId |
| int32 FPaintContext::MaxLayer |
| const FSlateRect& FPaintContext::MyCullingRect |
| FSlateWindowElementList& FPaintContext::OutDrawElements |
| const FWidgetStyle& FPaintContext::WidgetStyle |