Class: DataSource

DataSource

new DataSource()

Define the interface of the data source to convert any data into an ElementCollection for use. This object is an interface used for document purposes and cannot be directly instantiated.

See:

Members

changedEventEvent

Event triggered when obtaining basic data changes.

Get the preferred clock settings for this data source.

clusteringEntityCluster

Get or set the option set for a data source, where multiple data source objects share common properties.

Get the collection of instance entities.

errorEventEvent

Get the event triggered when an error is encountered during the processing.

isLoadingBoolean

Get a value indicating whether the data source is loading data.

loadingEventEvent

Get the event triggered when the isLoading value is changed.

nameString

Get the readable name of the object.

showBoolean

Get whether to display this data source.

Methods

update(time){Boolean}

Update the data source to the provided time. This function is optional and not mandatory to implement. It is designed for data sources that retrieve data based on the current animation time or scene state. If implemented, the update method will be called once per frame by DataSourceDisplay.

Name Type Description
time JulianDate

The simulation time.

Returns:
Type Description
Boolean True if this data source is ready to be displayed at the provided time, false otherwise.