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

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

// Automatically generated - do not modify!

@file:Suppress(
    "EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER",
)

package cesium

/**
 * The view model for [ProjectionPicker].
 * @see Online Documentation
 *
 * @constructor
 * @property [scene] The Scene to switch projections.
 * @see Online Documentation
 */
@JsName("\$cesium__ProjectionPickerViewModel")
external class ProjectionPickerViewModel(var scene: Scene) {
    /**
     * Gets or sets whether the button drop-down is currently visible.  This property is observable.
     * @see Online Documentation
     */
    var dropDownVisible: Boolean

    /**
     * Gets or sets the perspective projection tooltip.  This property is observable.
     * @see Online Documentation
     */
    var tooltipPerspective: String

    /**
     * Gets or sets the orthographic projection tooltip.  This property is observable.
     * @see Online Documentation
     */
    var tooltipOrthographic: String

    /**
     * Gets the currently active tooltip.  This property is observable.
     * @see Online Documentation
     */
    var selectedTooltip: String

    /**
     * Gets or sets the current SceneMode.  This property is observable.
     * @see Online Documentation
     */
    var sceneMode: SceneMode

    /**
     * Gets the command to toggle the drop down box.
     * @see Online Documentation
     */
    var toggleDropDown: Command

    /**
     * Gets the command to switch to a perspective projection.
     * @see Online Documentation
     */
    var switchToPerspective: Command

    /**
     * Gets the command to switch to orthographic projection.
     * @see Online Documentation
     */
    var switchToOrthographic: Command

    /**
     * Gets whether the scene is currently using an orthographic projection.
     * @see Online Documentation
     */
    var isOrthographicProjection: Command

    /**
     * @return true if the object has been destroyed, false otherwise.
     * @see Online Documentation
     */
    fun isDestroyed(): Boolean

    /**
     * Destroys the view model.
     * @see Online Documentation
     */
    fun destroy()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy