main.cesium.Visualizer.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
package cesium
/**
* Defines the interface for visualizers. Visualizers are plug-ins to
* [DataSourceDisplay] that render data associated with
* [DataSource] instances.
* This object is an interface for documentation purposes and is not intended
* to be instantiated directly.
* @see Online Documentation
*/
@JsName("\$cesium__Visualizer")
abstract external class Visualizer {
/**
* Updates the visualization to the provided time.
* @param [time] The time.
* @return True if the display was updated to the provided time,
* false if the visualizer is waiting for an asynchronous operation to
* complete before data can be updated.
* @see Online Documentation
*/
abstract fun update(time: JulianDate): Boolean
/**
* Returns true if this object was destroyed; otherwise, false.
* @return True if this object was destroyed; otherwise, false.
* @see Online Documentation
*/
abstract fun isDestroyed(): Boolean
/**
* Removes all visualization and cleans up any resources associated with this instance.
* @see Online Documentation
*/
abstract fun destroy()
}