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

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

// Automatically generated - do not modify!

@file:Suppress(
    "EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER",
)

package cesium

/**
 * The ProjectionPicker is a single button widget for switching between perspective and orthographic projections.
 * ```
 * // In HTML head, include a link to the ProjectionPicker.css stylesheet,
 * // and in the body, include: 
* // Note: This code assumes you already have a Scene instance. * * var projectionPicker = new ProjectionPicker('projectionPickerContainer', scene); * ``` * @see Online Documentation * * @constructor * @property [container] The DOM element that will contain the widget. * @param [scene] The Scene instance to use. * @see Online Documentation */ @JsName("\$cesium__ProjectionPicker") external class ProjectionPicker( var container: org.w3c.dom.Element, scene: Scene, ) { /** * Gets the view model. * @see Online Documentation */ var viewModel: ProjectionPickerViewModel /** * @return true if the object has been destroyed, false otherwise. * @see Online Documentation */ fun isDestroyed(): Boolean /** * Destroys the widget. Should be called if permanently * removing the widget from layout. * @see Online Documentation */ fun destroy() }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy