English中文

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

删除并销毁该实例创建的所有基元。 Removes and destroys all primitives created by this instance.
如果该对象被销毁则返回 true;否则为假。 Returns true if this object was destroyed; otherwise, false.
返回: Returns:
如果该对象被销毁,则为 True;否则为假。 True if this object was destroyed; otherwise, false.
更新模型创建此可视化工具以匹配给定时间的对应实体。 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:
该函数始终返回 true。 This function always returns true.
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.