ModelVisualizer

new Cesium.ModelVisualizer(scene, entityCollection)

A Visualizer which maps Entity#model to a Model.
参数名称 类型 描述信息
scene Scene The scene the primitives will be rendered in.
entityCollection EntityCollection The entityCollection to visualize.

方法

Removes and destroys all primitives created by this instance.
Returns true if this object was destroyed; otherwise, false.
返回值:
True if this object was destroyed; otherwise, false.
Updates models created this visualizer to match their Entity counterpart at the given time.
参数名称 类型 描述信息
time JulianDate The time to update to.
返回值:
This function always returns true.