Summary
Snaps the given `position` to the grid (as specified in Edit/Snap Settings).
- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor - Containing Type
- IGEditorUtils
Syntax
public static Vector3 SnapPosition(Vector3 position)
Parameters
Name | Type | Description |
---|---|---|
position | Vector3 |
Return Value
Type | Description |
---|---|
Vector3 |