Appearance
KBE3D / KBCore / Cesium / SceneModePickerViewModel
类: SceneModePickerViewModel
The view model for SceneModePicker.
参数
The Scene to morph
参数
The duration of scene morph animations, in seconds
属性
sceneMode
sceneMode:
SceneMode
Gets or sets the current SceneMode. This property is observable.
dropDownVisible
dropDownVisible:
boolean
Gets or sets whether the button drop-down is currently visible. This property is observable.
tooltip2D
tooltip2D:
string
Gets or sets the 2D tooltip. This property is observable.
tooltip3D
tooltip3D:
string
Gets or sets the 3D tooltip. This property is observable.
tooltipColumbusView
tooltipColumbusView:
string
Gets or sets the Columbus View tooltip. This property is observable.
selectedTooltip
selectedTooltip:
string
Gets the currently active tooltip. This property is observable.
scene
scene:
Scene
Gets the scene
duration
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.
toggleDropDown
toggleDropDown:
Command
Gets the command to toggle the drop down box.
morphTo2D
morphTo2D:
Command
Gets the command to morph to 2D.
morphTo3D
morphTo3D:
Command
Gets the command to morph to 3D.
morphToColumbusView
morphToColumbusView:
Command
Gets the command to morph to Columbus View.
方法
isDestroyed()
isDestroyed():
boolean
返回
boolean
true if the object has been destroyed, false otherwise.
destroy()
destroy():
void
Destroys the view model.
返回
void
构造函数
构造函数
new SceneModePickerViewModel(
scene:Scene,duration?:number):SceneModePickerViewModel
参数
scene
duration?
number
返回
SceneModePickerViewModel
