All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.PolylineVisualizer.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

package cesium

/**
 * A visualizer for polylines represented by [Primitive] instances.
 * @see Online Documentation
 *
 * @constructor
 * @param [scene] The scene the primitives will be rendered in.
 * @param [entityCollection] The entityCollection to visualize.
 * @param [primitives] A collection to add primitives related to the entities
 *   Default value - [scene.primitives]
 * @param [groundPrimitives] A collection to add ground primitives related to the entities
 *   Default value - [scene.groundPrimitives]
 * @see Online Documentation
 */
@JsName("\$cesium__PolylineVisualizer")
external class PolylineVisualizer(
    scene: Scene,
    entityCollection: EntityCollection,
    primitives: PrimitiveCollection? = definedExternally,
    groundPrimitives: PrimitiveCollection? = definedExternally,
) : Visualizer {
    /**
     * Updates all of the primitives created by this visualizer to match their
     * Entity counterpart at the given time.
     * @param [time] The time to update to.
     * @return True if the visualizer successfully updated to the provided time,
     *   false if the visualizer is waiting for asynchronous primitives to be created.
     * @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()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy