@JsType(isNative=true, namespace="Cesium", name="ProjectionPickerViewModel") public class ProjectionPickerViewModel extends Object
ProjectionPicker
.Modifier and Type | Field and Description |
---|---|
boolean |
dropDownVisible
Gets or sets whether the button drop-down is currently visible.
|
Command |
isOrthographicProjection
Gets whether the scene is currently using an orthographic projection.
|
Scene |
scene
Gets the scene
|
SceneMode |
sceneMode
Gets or sets the current SceneMode.
|
String |
selectedTooltip
Gets the currently active tooltip.
|
Command |
switchToOrthographic
Gets the command to switch to orthographic projection.
|
Command |
switchToPerspective
Gets the command to switch to a perspective projection.
|
Command |
toggleDropDown
Gets the command to toggle the drop down box.
|
String |
tooltipOrthographic
Gets or sets the orthographic projection tooltip.
|
String |
tooltipPerspective
Gets or sets the perspective projection tooltip.
|
Constructor and Description |
---|
ProjectionPickerViewModel(Scene scene)
The view model for
ProjectionPicker . |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the view model.
|
boolean |
isDestroyed()
true if the object has been destroyed, false otherwise.
|
@JsProperty public boolean dropDownVisible
@JsProperty public Command isOrthographicProjection
@JsProperty public Scene scene
@JsProperty public SceneMode sceneMode
@JsProperty public String selectedTooltip
@JsProperty public Command switchToOrthographic
@JsProperty public Command switchToPerspective
@JsProperty public Command toggleDropDown
@JsProperty public String tooltipOrthographic
@JsProperty public String tooltipPerspective
@JsConstructor public ProjectionPickerViewModel(Scene scene)
ProjectionPicker
.scene
- The Scene to switch projections.Copyright © 2019. All rights reserved.