Summary
Snaps the given `rotation` to the nearest snap increment on all axes (as specified in Edit/Snap Settings).
- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor - Containing Type
- IGEditorUtils
Syntax
public static Quaternion SnapRotation(Quaternion rotation)
Parameters
| Name | Type | Description |
|---|---|---|
| rotation | Quaternion |
Return Value
| Type | Description |
|---|---|
| Quaternion |