ModelVisualizer

new Cesium.ModelVisualizer(scene, entityCollection)

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()

Removes and destroys all primitives created by this instance.

isDestroyed()Boolean

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