# VoxelInspector

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

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 221

Gets the parent container.

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

Gets the view model.

### Methods

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

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

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

##### 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.