Control the behavior of handle snapping in the editor.
| Property | Description |
|---|---|
| gridSize | Gets or sets the grid size used for snapping. |
| gridSnapActive | Gets whether grid snapping is active. |
| gridSnapEnabled | Gets or sets whether grid snapping is enabled. |
| incrementalSnapActive | Gets whether increment snapping is active. |
| move | Gets or sets the increment that translation handles snap to. |
| rotate | Gets or sets the increment that rotation handles snap to. |
| scale | Gets or sets the increment that scale handles snap to. |
| snapEnabled | Gets or sets whether snapping is enabled. |
| Method | Description |
|---|---|
| ResetSnapSettings | Resets EditorSnap settings to default values. |
| Event | Description |
|---|---|
| gridSnapEnabledChanged | Callback triggered when the grid snap enabled value changes. |
| snapEnabledChanged | Calls the methods in its invocation list when the snapEnabled value changes . |