# BoxBoundsHandle

> A compound handle to edit a box-shaped bounding volume in the Scene view.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.5/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor.CoreModule
* **Inherits from:** [PrimitiveBoundsHandle](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle.md)

```csharp
public class BoxBoundsHandle : PrimitiveBoundsHandle
```

## Remarks

![BoxBoundsHandle (BoxBoundsHandle)](/api/media?file=/engine/6000.5/media/images/BoxBoundsHandle.png)

*2D and 3D BoxBoundsHandle in the Scene View.*

Additional Resources: [PrimitiveBoundsHandle](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle.md).

## Constructors

| Constructor                                                                                             | Description                                                                                                                          |
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| [BoxBoundsHandle()](/engine/6000.5/script-reference/unityeditor/imgui/controls/boxboundshandle/ctor.md) | Create a new instance of the [BoxBoundsHandle](/engine/6000.5/script-reference/unityeditor/imgui/controls/boxboundshandle.md) class. |

## Properties

| Property                                                                                   | Description                                        |
| ------------------------------------------------------------------------------------------ | -------------------------------------------------- |
| [size](/engine/6000.5/script-reference/unityeditor/imgui/controls/boxboundshandle/size.md) | Returns or specifies the size of the bounding box. |

## Methods

| Method                                                                                                       | Description                             |
| ------------------------------------------------------------------------------------------------------------ | --------------------------------------- |
| [DrawWireframe](/engine/6000.5/script-reference/unityeditor/imgui/controls/boxboundshandle/drawwireframe.md) | Draw a wireframe box for this instance. |

## Inheritance

**Inherited Members:**

* [PrimitiveBoundsHandle.DefaultMidpointHandleSizeFunction(Vector3)](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/defaultmidpointhandlesizefunction.md)
* [PrimitiveBoundsHandle.SetColor(Color)](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/setcolor.md)
* [PrimitiveBoundsHandle.DrawHandle()](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/drawhandle.md)
* [PrimitiveBoundsHandle.OnHandleChanged(HandleDirection, Bounds, Bounds)](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/onhandlechanged.md)
* [PrimitiveBoundsHandle.GetSize()](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/getsize.md)
* [PrimitiveBoundsHandle.SetSize(Vector3)](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/setsize.md)
* [PrimitiveBoundsHandle.IsAxisEnabled(Axes)](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/isaxisenabled.md#isaxisenabled\(axes\))
* [PrimitiveBoundsHandle.IsAxisEnabled(int)](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/isaxisenabled.md#isaxisenabled\(int\))
* [PrimitiveBoundsHandle.center](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/center.md)
* [PrimitiveBoundsHandle.axes](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/axes-1.md)
* [PrimitiveBoundsHandle.handleColor](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/handlecolor.md)
* [PrimitiveBoundsHandle.wireframeColor](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/wireframecolor.md)
* [PrimitiveBoundsHandle.midpointHandleDrawFunction](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/midpointhandledrawfunction.md)
* [PrimitiveBoundsHandle.midpointHandleSizeFunction](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/midpointhandlesizefunction.md)
