GeometryVisualizer

new Cesium.GeometryVisualizer(scene, entityCollection, primitives, groundPrimitives)

Primitive 实例表示的几何图形的通用可视化工具。
Name Type Default Description
scene Scene 将在其中渲染基元的场景。
entityCollection EntityCollection 要可视化的 entityCollection。
primitives PrimitiveCollection scene.primitives optional 用于添加与实体相关的基元的集合
groundPrimitives PrimitiveCollection scene.groundPrimitives optional 一个集合,用于添加与实体相关的地面基元

Methods

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