main.cesium.ModelVisualizer.kt Maven / Gradle / Ivy
The newest version!
// Automatically generated - do not modify!
@file:JsModule("cesium")
package cesium
/**
* A [Visualizer] which maps [Entity.model] to a [Model].
* @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 ModelVisualizer(
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()
}