English中文

ProjectionPickerViewModel

new Cesium.ProjectionPickerViewModel(scene)

视图模型为 The view model for ProjectionPicker.
名称 Name 类型 Type 说明 Description
scene Scene 切换投影的场景。 The Scene to switch projections.

成员 Members

获取或设置按钮下拉列表当前是否可见。这个性质是可以观察到的。 Gets or sets whether the button drop-down is currently visible. This property is observable.
默认值: Default Value: 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.
默认值: Default Value: 'Orthographic Projection'
获取或设置透视投影工具提示。这个性质是可以观察到的。 Gets or sets the perspective projection tooltip. This property is observable.
默认值: Default Value: 'Perspective Projection'

方法 Methods

破坏视图模型。 Destroys the view model.
返回: Returns:
如果对象已被销毁,则为 true,否则为 false。 true if the object has been destroyed, false otherwise.
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.