main.cesium.Cesium3DTilesetVisualizer.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:JsModule("cesium")
package cesium
/**
* A [Visualizer] which maps [Entity.tileset] to a [Cesium3DTileset].
* @see Online Documentation
*
* @constructor
* @param [scene] The scene the primitives will be rendered in.
* @param [entityCollection] The entityCollection to visualize.
* @see Online Documentation
*/
external class Cesium3DTilesetVisualizer(
scene: Scene,
entityCollection: EntityCollection,
) : Visualizer {
/**
* Updates models created this visualizer to match their
* Entity counterpart at the given time.
* @param [time] The time to update to.
* @return This function always returns true.
* @see Online Documentation
*/
override 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
*/
override fun isDestroyed(): Boolean
/**
* Removes and destroys all primitives created by this instance.
* @see Online Documentation
*/
override fun destroy()
}