# ModelVisualizer

#### new Cesium.ModelVisualizer(scene, entityCollection)
engine/Source/DataSources/ModelVisualizer.js 56

A `Visualizer` which maps `Entity#model` to a `Model`.

Name | Type | Description
--- | --- | ---
`scene` | Scene | The scene the primitives will be rendered in.
`entityCollection` | EntityCollection | The entityCollection to visualize.

### Methods

#### destroy()
engine/Source/DataSources/ModelVisualizer.js 417

Removes and destroys all primitives created by this instance.

#### isDestroyed() → boolean
engine/Source/DataSources/ModelVisualizer.js 410

Returns true if this object was destroyed; otherwise, false.

##### Returns:

True if this object was destroyed; otherwise, false.

#### update(time) → boolean
engine/Source/DataSources/ModelVisualizer.js 131

Updates models created this visualizer to match their Entity counterpart at the given time.

Name | Type | Description
--- | --- | ---
`time` | JulianDate | The time to update to.

##### Returns:

This function always returns true.

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