用于在 Scene 视图中编辑球形包围体积的复合手柄。
A sphere volume is defined by only a radius parameter, and so dragging a handle will always scale the volume uniformly.
2D and 3D SphereBoundsHandle in the Scene View.
See Also: PrimitiveBoundsHandle.
| radius | 返回或指定胶囊体包围体积的半径。 |
| SphereBoundsHandle | 创建 SphereBoundsHandle 类的新实例。 |
| DrawWireframe | 为此实例绘制线框球体。 |
| OnHandleChanged | 在控制手柄被拖到场景中时使用的回调。 |
| axes | 指定哪些轴应显示控制手柄的标志。 |
| center | 返回或指定手柄包围体积的中心。 |
| handleColor | 返回或指定控制手柄的颜色。 |
| midpointHandleDrawFunction | 显示控制手柄时使用的可选 CapFunction。如果未指定值,则默认为 Handles.DotHandleCap。 |
| midpointHandleSizeFunction | An optional SizeFunction to specify how large the control handles should be in the space of Handles.matrix. Defaults to a fixed screen-space size. |
| wireframeColor | 返回或指定线框形状的颜色。 |
| DrawHandle | 使用实例的当前配置在当前手柄摄像机中显示此实例的函数。 |
| SetColor | 将 handleColor 和 wireframeColor 设置为相同的值。 |
| GetSize | 获取此实例包围体积的当前大小。 |
| IsAxisEnabled | 获取指示是否为当前实例启用了指定轴的值。 |
| SetSize | 设置此实例包围体积的当前大小。 |