new SceneModePickerViewModel(scene, durationopt)
    The view model for 
    SceneModePicker.
Parameters:
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
| scene | Scene | The Scene to morph | ||
| duration | Number | <optional> | 2.0 | The duration of scene morph animations, in seconds | 
Members
dropDownVisible :Boolean
    Gets or sets whether the button drop-down is currently visible.  This property is observable.
    Type:
- Boolean
- Default Value:
- false
 
- Source:
duration :Number
    Gets or sets the the duration of scene mode transition animations in seconds.
A value of zero causes the scene to instantly change modes.
    Type:
- Number
morphTo2D :Command
    Gets the command to morph to 2D.
    Type:
morphTo3D :Command
    Gets the command to morph to 3D.
    Type:
morphToColumbusView :Command
    Gets the command to morph to Columbus View.
    Type:
scene :Scene
    Gets the scene
    Type:
sceneMode :SceneMode
    Gets or sets the current SceneMode.  This property is observable.
    Type:
- SceneMode
selectedTooltip :String
    Gets the currently active tooltip.  This property is observable.
    Type:
- String
toggleDropDown :Command
    Gets the command to toggle the drop down box.
    Type:
tooltip2D :String
    Gets or sets the 2D tooltip.  This property is observable.
    Type:
- String
- Default Value:
- '2D'
 
- Source:
tooltip3D :String
    Gets or sets the 3D tooltip.  This property is observable.
    Type:
- String
- Default Value:
- '3D'
 
- Source:
tooltipColumbusView :String
    Gets or sets the Columbus View tooltip.  This property is observable.
    Type:
- String
- Default Value:
- 'Columbus View'
 
- Source:
Methods
destroy()
    Destroys the view model.
        
            
    
    isDestroyed() → {Boolean}
Returns:
    true if the object has been destroyed, false otherwise.
- Type
- Boolean