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

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

// Automatically generated - do not modify!

@file:Suppress(
    "EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER",
)

package cesium

/**
 * The view model for [SceneModePicker].
 * @see Online Documentation
 *
 * @constructor
 * @property [scene] The Scene to morph
 * @property [duration] The duration of scene morph animations, in seconds
 *   Default value - `2.0`
 * @see Online Documentation
 */
@JsName("\$cesium__SceneModePickerViewModel")
external class SceneModePickerViewModel(
    var scene: Scene,
    var duration: Double = definedExternally,
) {
    /**
     * Gets or sets the current SceneMode.  This property is observable.
     * @see Online Documentation
     */
    var sceneMode: SceneMode

    /**
     * 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 2D tooltip.  This property is observable.
     * @see Online Documentation
     */
    var tooltip2D: String

    /**
     * Gets or sets the 3D tooltip.  This property is observable.
     * @see Online Documentation
     */
    var tooltip3D: String

    /**
     * Gets or sets the Columbus View tooltip.  This property is observable.
     * @see Online Documentation
     */
    var tooltipColumbusView: String

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

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

    /**
     * Gets the command to morph to 2D.
     * @see Online Documentation
     */
    var morphTo2D: Command

    /**
     * Gets the command to morph to 3D.
     * @see Online Documentation
     */
    var morphTo3D: Command

    /**
     * Gets the command to morph to Columbus View.
     * @see Online Documentation
     */
    var morphToColumbusView: 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