OnHandleChanged(HandleDirection, Bounds, Bounds)
A callback for when a control handle was dragged in the Scene.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
protected virtual Bounds OnHandleChanged(PrimitiveBoundsHandle.HandleDirection handle, Bounds boundsOnClick, Bounds newBounds)
Parameters
The handle that was dragged.
Returns
Type | Description |
|---|---|
| Bounds | The bounds that should be applied to this instance, with any necessary modifications applied. |
Remarks
Use this method to apply any necessary constraints to the bounding volume.