@JsType(isNative=true, namespace="Cesium", name="DataSourceDisplay") public class DataSourceDisplay extends Object implements DataSource
Modifier and Type | Class and Description |
---|---|
static interface |
DataSourceDisplay.VisualizersCallback |
Modifier and Type | Field and Description |
---|---|
DataSourceCollection |
dataSources
Gets the collection of data sources to display.
|
CustomDataSource |
defaultDataSource
Gets the default data source instance which can be used to manually create and visualize entities not tied to a specific data source.
|
Scene |
scene
Gets the scene associated with this display.
|
Constructor and Description |
---|
DataSourceDisplay(DataSourceDisplayOptions options)
Visualizes a collection of DataSource instances.
|
Modifier and Type | Method and Description |
---|---|
static DataSourceDisplay.VisualizersCallback |
defaultVisualizersCallback()
Gets or sets the default function which creates an array of visualizers used for visualization.
|
void |
destroy()
Destroys the WebGL resources held by this object.
|
boolean |
isDestroyed()
Returns true if this object was destroyed; otherwise, false.
|
static boolean |
ready()
Gets a value indicating whether or not all entities in the data source are ready
|
boolean |
update(JulianDate time)
Updates the display to the provided time.
|
@JsProperty public DataSourceCollection dataSources
@JsProperty public CustomDataSource defaultDataSource
@JsProperty public Scene scene
@JsConstructor public DataSourceDisplay(DataSourceDisplayOptions options)
options
- Options@JsProperty(name="defaultVisualizersCallback") public static DataSourceDisplay.VisualizersCallback defaultVisualizersCallback()
@JsProperty(name="ready") public static boolean ready()
public void destroy()
isDestroyed()
public boolean isDestroyed()
destroy()
public boolean update(JulianDate time)
update
in interface DataSource
time
- The simulation time.Copyright © 2019. All rights reserved.