ProjectionPickerViewModel

open external class ProjectionPickerViewModel(var scene: Scene)(source)

The view model for ProjectionPicker.

See also

Constructors

Link copied to clipboard
constructor(scene: Scene)

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

Gets whether the scene is currently using an orthographic projection.

Link copied to clipboard
external var scene: Scene

The Scene to switch projections.

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

Gets the command to switch to orthographic projection.

Link copied to clipboard

Gets the command to switch to a perspective projection.

Link copied to clipboard
external var toggleDropDown: Command

Gets the command to toggle the drop down box.

Link copied to clipboard

Gets or sets the orthographic projection tooltip. This property is observable.

Link copied to clipboard

Gets or sets the perspective projection 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