ModelVisualizer

new Cesium.ModelVisualizer(scene, entityCollection)

一个 Visualizer,用于将 Entity#model 映射到 Model
Name Type Description
scene Scene 将在其中渲染基元的场景。
entityCollection EntityCollection 要可视化的 entityCollection。

Methods

删除并销毁此实例创建的所有基元。
如果此对象已销毁,则返回 true;否则为 false。
Returns:
如果此对象被销毁,则为 True;否则为 false。
更新创建此可视化工具的模型以匹配其 给定时间的实体对应项。
Name Type Description
time JulianDate 更新到的时间。
Returns:
此函数始终返回 true。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.