Summary
Returns true if `value` is approximately equal to a multiple of `snap`.
- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor - Containing Type
- IGEditorUtils
Syntax
public static bool IsSnapped(float value, float snap)
Parameters
| Name | Type | Description |
|---|---|---|
| value | float | |
| snap | float |
Return Value
| Type | Description |
|---|---|
| bool |