@JsType(isNative=true, namespace="Cesium", name="SceneModePickerViewModel") public class SceneModePickerViewModel extends Object
SceneModePicker
.Modifier and Type | Field and Description |
---|---|
boolean |
dropDownVisible
Gets or sets whether the button drop-down is currently visible.
|
double |
duration
Gets or sets the the duration of scene mode transition animations in seconds.
|
Command |
morphTo2D
Gets the command to morph to 2D.
|
Command |
morphTo3D
Gets the command to morph to 3D.
|
Command |
morphToColumbusView
Gets the command to morph to Columbus View.
|
Scene |
scene
Gets the scene
|
SceneMode |
sceneMode
Gets or sets the current SceneMode.
|
String |
selectedTooltip
Gets the currently active tooltip.
|
Command |
toggleDropDown
Gets the command to toggle the drop down box.
|
String |
tooltip2D
Gets or sets the 2D tooltip.
|
String |
tooltip3D
Gets or sets the 3D tooltip.
|
String |
tooltipColumbusView
Gets or sets the Columbus View tooltip.
|
Constructor and Description |
---|
SceneModePickerViewModel(Scene scene)
The view model for
SceneModePicker . |
SceneModePickerViewModel(Scene scene,
double duration)
The view model for
SceneModePicker . |
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 double duration
@JsProperty public Command morphTo2D
@JsProperty public Command morphTo3D
@JsProperty public Command morphToColumbusView
@JsProperty public Scene scene
@JsProperty public SceneMode sceneMode
@JsProperty public String selectedTooltip
@JsProperty public Command toggleDropDown
@JsProperty public String tooltip2D
@JsProperty public String tooltip3D
@JsProperty public String tooltipColumbusView
@JsConstructor public SceneModePickerViewModel(Scene scene)
SceneModePicker
.scene
- The Scene to morph@JsConstructor public SceneModePickerViewModel(Scene scene, double duration)
SceneModePicker
.scene
- The Scene to morphduration
- The duration of scene morph animations, in secondsCopyright © 2019. All rights reserved.