# VoxelInspector

#### new Cesium.VoxelInspector(container, scene)
widgets/Source/VoxelInspector/VoxelInspector.js 23

Inspector widget to aid in debugging voxels

Name | Type | Description
--- | --- | ---
`container` | Element | string | The DOM element or ID that will contain the widget.
`scene` | Scene | the Scene instance to use.

### Members

#### container : Element
widgets/Source/VoxelInspector/VoxelInspector.js 320

Gets the parent container.

#### viewModel : VoxelInspectorViewModel
widgets/Source/VoxelInspector/VoxelInspector.js 332

Gets the view model.

### Methods

#### destroy()
widgets/Source/VoxelInspector/VoxelInspector.js 350

Destroys the widget. Should be called if permanently removing the widget from layout.

#### isDestroyed() → boolean
widgets/Source/VoxelInspector/VoxelInspector.js 342

##### Returns:

true if the object has been destroyed, false otherwise.

Need help? The fastest way to get answers is from the community and team on the Cesium Forum.