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

A visualizer for polylines represented by Primitive instances.
Name Type Default Description
scene Scene 原始人的场景将会曝光.
entityCollection EntityCollection 实体收集可视化.
primitives PrimitiveCollection scene.primitives optional A collection to add primitives related to the entities
groundPrimitives PrimitiveCollection scene.groundPrimitives optional A collection to add ground primitives related to the entities

Methods

destroy()

移除并摧毁此实例所创造的所有原始人.

isDestroyed()boolean

如果此对象被销毁, 返回真实; 否则, 错误 .
Returns:
如果此天体被销毁, 则属真; 否则, 属假 .

update(time)boolean

更新这个可视化器创建的所有原始物,以匹配它们 ——Entity 在给定时间对应.
Name Type Description
time JulianDate 时间更新到.
Returns:
如果可视化器成功更新到提供的时间,则属实, 如果可视化器正在等待一个同步原始物被创建,则是假的.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.