SNAP_SETTINGSΒΆ

SNAP_SETTINGS_ENABLED

bool

Enable snapping.

SNAP_SETTINGS_RADIUS

float

Snap radius.

SNAP_SETTINGS_TOOL

bool

Tool specific.

SNAP_SETTINGS_GUIDEANGLE

float

Guide angle.

SNAP_SETTINGS_MODE

int

Mode:

SNAP_SETTINGS_MODE_AUTO

Auto snapping.

SNAP_SETTINGS_MODE_2D

2D snapping.

SNAP_SETTINGS_MODE_3D

3D snapping.

SNAP_SETTINGS_PIXELMODE

int

Mode:

SNAP_SETTINGS_PIXELMODE_CENTER

Snap to the center of the pixels.

SNAP_SETTINGS_PIXELMODE_EDGE

Snap to the top left corner of the pixel.