csharp
public enum SnapBaseWhich part of what is being dragged is put on the snap point.
Remarks
⚠ The half everybody omits, and doc 24's D4 says it is the half that matters. Snapping the centre of what you dragged to a vertex is almost never what you meant; you meant the corner you grabbed. A snap with no base concept can only offer the first, which is why a great many editors' vertex snapping is a feature people try once.
Fields and properties (4)
OriginThe gizmo's own origin — wherever the handles are drawn.
CentreThe middle of everything selected, whatever the pivot mode says.
ActiveThe active element's own origin, which is the first of the selection.
PointerWhere the pointer met the geometry when the drag began.
Used by (6)
- EditorApplicationVixen.Editor.App
- SnapCommandTestsVixen.Editor.App.Tests
- SnapContextVixen.Editor.SceneView
- SnapContextTestsVixen.Editor.SceneView.Tests
- TransformGizmoVixen.Editor.SceneView
- ViewportIdsVixen.Editor.App