Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/WidgetPixelSnapping.h |
| Include | #include "Widgets/WidgetPixelSnapping.h" |
Syntax
enum EWidgetPixelSnapping
{
Inherit,
Disabled,
SnapToPixel,
}
Values
| Name | Description |
|---|---|
| Inherit | Inherits the snapping method set by the parent widget. |
| Disabled | Draws the widget without snapping. Useful during animations or moving indicators. |
| SnapToPixel | Draws the widget at the nearest pixel. Improves sharpness of widgets. |
Remarks
The different states of pixel snapping a widget can be in.