PolylineVisualizer

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

A visualizer for polylines represented by Primitive instances.
参数名称 类型 默认值 描述信息
scene Scene The scene the primitives will be rendered in.
entityCollection EntityCollection The entityCollection to visualize.
primitives PrimitiveCollection scene.primitives 可选 A collection to add primitives related to the entities
groundPrimitives PrimitiveCollection scene.groundPrimitives 可选 A collection to add ground primitives related to the entities

方法

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 all of the primitives created by this visualizer to match their Entity counterpart at the given time.
参数名称 类型 描述信息
time JulianDate The time to update to.
返回值:
True if the visualizer successfully updated to the provided time, false if the visualizer is waiting for asynchronous primitives to be created.