protected Bounds OnHandleChanged (IMGUI.Controls.PrimitiveBoundsHandle.HandleDirection handle, Bounds boundsOnClick, Bounds newBounds);

Parameters

handle被拖动的手柄。
boundsOnClick单击控制手柄时此实例体积的原始 Bounds
newBounds此实例体积的原始 Bounds(基于更新的手柄位置)。

Returns

Bounds 应该应用于此实例的边界(已对实例应用所有必要的修改)。

Description

A callback for when a control handle was dragged in the Scene.

此方法可确保所有轴始终均匀缩放。