unreal.WidgetPixelSnapping

class unreal.WidgetPixelSnapping

Bases: EnumBase

The different states of pixel snapping a widget can be in.

C++ Source:

  • Module: SlateCore

  • File: WidgetPixelSnapping.h

DISABLED: WidgetPixelSnapping

Draws the widget without snapping. Useful during animations or moving indicators.

Type:

1

INHERIT: WidgetPixelSnapping

Inherits the snapping method set by the parent widget.

Type:

0

SNAP_TO_PIXEL: WidgetPixelSnapping

Draws the widget at the nearest pixel. Improves sharpness of widgets.

Type:

2