ProjectionPickerViewModel

new Cesium.ProjectionPickerViewModel(scene)

The view model for ProjectionPicker.
参数名称 类型 描述信息
scene Scene The Scene to switch projections.

成员(属性)

Gets or sets whether the button drop-down is currently visible. This property is observable.
默认值: false
Gets whether the scene is currently using an orthographic projection.
Gets the scene
Gets or sets the current SceneMode. This property is observable.
Gets the currently active tooltip. This property is observable.
Gets the command to switch to orthographic projection.
Gets the command to switch to a perspective projection.
Gets the command to toggle the drop down box.
Gets or sets the orthographic projection tooltip. This property is observable.
默认值: 'Orthographic Projection'
Gets or sets the perspective projection tooltip. This property is observable.
默认值: 'Perspective Projection'

方法

Destroys the view model.
返回值:
true if the object has been destroyed, false otherwise.