Summary
Snaps the given `scale` 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 Vector3 SnapScale(Vector3 scale)
Parameters
Name | Type | Description |
---|---|---|
scale | Vector3 |
Return Value
Type | Description |
---|---|
Vector3 |