unreal.WidgetPixelSnapping¶
- class unreal.WidgetPixelSnapping¶
Bases:
EnumBaseThe different states of pixel snapping a widget can be in.
C++ Source:
Module: SlateCore
File: WidgetPixelSnapping.h
- DISABLED: WidgetPixelSnapping = Ellipsis¶
Draws the widget without snapping. Useful during animations or moving indicators.
- Type:
1
- INHERIT: WidgetPixelSnapping = Ellipsis¶
Inherits the snapping method set by the parent widget.
- Type:
0
- SNAP_TO_PIXEL: WidgetPixelSnapping = Ellipsis¶
Draws the widget at the nearest pixel. Improves sharpness of widgets.
- Type:
2