SceneModePickerViewModel

SceneModePickerViewModel

new

The view model for SceneModePicker.

Parameters:
Name Type Description
transitioner SceneTransitioner The SceneTransitioner instance to use.
Throws:
DeveloperError : transitioner is required.
Source:

Members

Gets or sets whether the button drop-down is currently visible. This property is observable.
Default Value:
  • false

:Command

Gets the command to morph to 2D.

:Command

Gets the command to morph to 3D.

:Command

Gets the command to morph to Columbus View.

:SceneMode

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

:SceneTransitioner

Gets the scene transitioner.

:String

Gets the currently active tooltip. This property is observable.

:Command

Gets the command to toggle the drop down box.

:String

Gets or sets the 2D tooltip. This property is observable.
Default Value:
  • '2D'

:String

Gets or sets the 3D tooltip. This property is observable.
Default Value:
  • '3D'

:String

Gets or sets the Columbus View tooltip. This property is observable.
Default Value:
  • 'Columbus View'

Methods

Destroys the view model.

Returns:
Boolean true if the object has been destroyed, false otherwise.