Appearance
KBE3D / KBCore / Cesium / ProjectionPickerViewModel
类: ProjectionPickerViewModel
The view model for ProjectionPicker.
参数
The Scene to switch projections.
属性
dropDownVisible
dropDownVisible:
boolean
Gets or sets whether the button drop-down is currently visible. This property is observable.
tooltipPerspective
tooltipPerspective:
string
Gets or sets the perspective projection tooltip. This property is observable.
tooltipOrthographic
tooltipOrthographic:
string
Gets or sets the orthographic projection tooltip. This property is observable.
selectedTooltip
selectedTooltip:
string
Gets the currently active tooltip. This property is observable.
sceneMode
sceneMode:
SceneMode
Gets or sets the current SceneMode. This property is observable.
scene
scene:
Scene
Gets the scene
toggleDropDown
toggleDropDown:
Command
Gets the command to toggle the drop down box.
switchToPerspective
switchToPerspective:
Command
Gets the command to switch to a perspective projection.
switchToOrthographic
switchToOrthographic:
Command
Gets the command to switch to orthographic projection.
isOrthographicProjection
isOrthographicProjection:
Command
Gets whether the scene is currently using an orthographic projection.
方法
isDestroyed()
isDestroyed():
boolean
返回
boolean
true if the object has been destroyed, false otherwise.
destroy()
destroy():
void
Destroys the view model.
返回
void
构造函数
构造函数
new ProjectionPickerViewModel(
scene:Scene):ProjectionPickerViewModel
参数
scene
返回
ProjectionPickerViewModel
