Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
| Include | #include "Blueprint/UserWidget.h" |
Syntax
struct FPaintContext
Remarks
The state passed into OnPaint that we can expose as a single painting structure to blueprints to allow script code to override OnPaint behavior.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FGeometry & | AllottedGeometry | ||
| bool | bParentEnabled | ||
| int32 | LayerId | ||
| int32 | MaxLayer | ||
| const FSlateRect & | MyCullingRect | ||
| FSlateWindowElementList & | OutDrawElements | ||
| const FWidgetStyle & | WidgetStyle |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Don't ever use this constructor. Needed for code generation. | |||
FPaintContext
(
const FGeometry& InAllottedGeometry, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator=
(
const FPaintContext& Other |
We override the assignment operator to allow generated code to compile with the const ref member. |