@JsType(isNative=true, namespace="Cesium", name="BillboardVisualizer") public class BillboardVisualizer extends Object implements Visualizer
Constructor and Description |
---|
BillboardVisualizer(EntityCluster entityCluster,
EntityCollection entityCollection)
A
Visualizer which maps Entity.billboard to a Billboard. |
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 the primitives created by this visualizer to match their Entity counterpart at the given time.
|
@JsConstructor public BillboardVisualizer(EntityCluster entityCluster, EntityCollection entityCollection)
Visualizer
which maps Entity.billboard
to a Billboard.entityCluster
- The entity cluster to manage the collection of billboards and optionally cluster with other entities.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.