SceneModePickerViewModel

open external class SceneModePickerViewModel(var scene: Scene, var duration: Double = definedExternally)(source)

The view model for SceneModePicker.

See also

Constructors

Link copied to clipboard
constructor(scene: Scene, duration: Double = definedExternally)

Properties

Link copied to clipboard
external var dropDownVisible: Boolean

Gets or sets whether the button drop-down is currently visible. This property is observable.

Link copied to clipboard
external var duration: Double

The duration of scene morph animations, in seconds Default value - 2.0

Link copied to clipboard
external var morphTo2D: Command

Gets the command to morph to 2D.

Link copied to clipboard
external var morphTo3D: Command

Gets the command to morph to 3D.

Link copied to clipboard

Gets the command to morph to Columbus View.

Link copied to clipboard
external var scene: Scene

The Scene to morph

Link copied to clipboard
external var sceneMode: SceneMode

Gets or sets the current SceneMode. This property is observable.

Link copied to clipboard
external var selectedTooltip: String

Gets the currently active tooltip. This property is observable.

Link copied to clipboard
external var toggleDropDown: Command

Gets the command to toggle the drop down box.

Link copied to clipboard
external var tooltip2D: String

Gets or sets the 2D tooltip. This property is observable.

Link copied to clipboard
external var tooltip3D: String

Gets or sets the 3D tooltip. This property is observable.

Link copied to clipboard

Gets or sets the Columbus View tooltip. This property is observable.

Functions

Link copied to clipboard
external fun destroy()

Destroys the view model.

Link copied to clipboard
external fun isDestroyed(): Boolean