在编辑器中控制对齐处理行为。
gridSize | Gets or sets the grid size used for snapping. |
gridSnapActive | Gets whether grid snapping is active. |
gridSnapEnabled | 获取或设置是否启用网格对齐。 |
incrementalSnapActive | Gets whether increment snapping is active. |
move | 获取或设置转换手柄的对齐增量。 |
rotate | 获取或设置旋转手柄的对齐增量。 |
scale | 获取或设置缩放手柄的对齐增量。 |
snapEnabled | Gets or sets whether snapping is enabled. |
ResetSnapSettings | 重置 EditorSnap 设置为默认值。 |
gridSnapEnabledChanged | Callback triggered when the grid snap enabled value changes. |
snapEnabledChanged | Calls the methods in its invocation list when the snapEnabled value changes . |