The view model for
SceneModePicker
.
参数名称 | 类型 | 默认值 | 描述信息 |
---|---|---|---|
scene |
Scene | The Scene to morph | |
duration |
number |
2.0
|
可选 The duration of scene morph animations, in seconds |
成员(属性)
Gets or sets whether the button drop-down is currently visible. This property is observable.
-
默认值:
false
Gets or sets the the duration of scene mode transition animations in seconds.
A value of zero causes the scene to instantly change modes.
Gets the command to morph to 2D.
Gets the command to morph to 3D.
morphToColumbusView : Command
Gets the command to morph to Columbus View.
Gets the scene
Gets or sets the current SceneMode. This property is observable.
Gets the currently active tooltip. This property is observable.
toggleDropDown : Command
Gets the command to toggle the drop down box.
Gets or sets the 2D tooltip. This property is observable.
-
默认值:
'2D'
Gets or sets the 3D tooltip. This property is observable.
-
默认值:
'3D'
Gets or sets the Columbus View tooltip. This property is observable.
-
默认值:
'Columbus View'
方法
Destroys the view model.
返回值:
true if the object has been destroyed, false otherwise.