@JsType(isNative=true, namespace="Cesium", name="PolylineVisualizer") public class PolylineVisualizer extends Object implements Visualizer
Constructor and Description |
---|
PolylineVisualizer(Scene scene,
EntityCollection entityCollection)
A visualizer for polylines represented by Primitive instances.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Removes and destroys all primitives created by this instance.
|
boolean |
isDestroyed()
Returns true if this object was destroyed; otherwise, false.
|
boolean |
update(JulianDate time)
Updates all of the primitives created by this visualizer to match their Entity counterpart at the given time.
|
@JsConstructor public PolylineVisualizer(Scene scene, EntityCollection entityCollection)
scene
- The scene the primitives will be rendered in.entityCollection
- The entityCollection to visualize.@JsMethod public void destroy()
@JsMethod public boolean isDestroyed()
@JsMethod public boolean update(JulianDate time)
time
- The time to update to.Copyright © 2019. All rights reserved.