@JsType(isNative=true,
namespace="Cesium",
name="SelectionIndicatorViewModel")
public class SelectionIndicatorViewModel
extends Object
SelectionIndicator.| Modifier and Type | Field and Description |
|---|---|
SelectionIndicatorViewModel |
computeScreenSpacePosition
Gets or sets the function for converting the world position of the object to the screen space position.
|
com.google.gwt.dom.client.Element |
container
Gets the HTML element containing the selection indicator.
|
boolean |
isVisible
Gets the visibility of the position indicator.
|
Cartesian3 |
position
Gets or sets the world position of the object for which to display the selection indicator.
|
Scene |
scene
Gets the scene being used.
|
com.google.gwt.dom.client.Element |
selectionIndicatorElement
Gets the HTML element that holds the selection indicator.
|
boolean |
showSelection
Gets or sets the visibility of the selection indicator.
|
| Constructor and Description |
|---|
SelectionIndicatorViewModel(Scene scene,
com.google.gwt.dom.client.Element selectionIndicatorElement,
com.google.gwt.dom.client.Element container)
The view model for
SelectionIndicator. |
| Modifier and Type | Method and Description |
|---|---|
void |
animateAppear()
Animate the indicator to draw attention to the selection.
|
void |
animateDepart()
Animate the indicator to release the selection.
|
void |
update()
Updates the view of the selection indicator to match the position and content properties of the view model.
|
@JsProperty public SelectionIndicatorViewModel computeScreenSpacePosition
@JsProperty public com.google.gwt.dom.client.Element container
@JsProperty public boolean isVisible
@JsProperty public Cartesian3 position
@JsProperty public Scene scene
@JsProperty public com.google.gwt.dom.client.Element selectionIndicatorElement
@JsProperty public boolean showSelection
@JsConstructor public SelectionIndicatorViewModel(Scene scene, com.google.gwt.dom.client.Element selectionIndicatorElement, com.google.gwt.dom.client.Element container)
SelectionIndicator.scene - The scene instance to use for screen-space coordinate conversion.selectionIndicatorElement - The element containing all elements that make up the selection indicator.container - The DOM element that contains the widget.@JsMethod public void animateAppear()
@JsMethod public void animateDepart()
@JsMethod public void update()
Copyright © 2019. All rights reserved.