@JsType(isNative=true,
namespace="Cesium",
name="VRButton")
public class VRButton
extends Object
| Modifier and Type | Field and Description |
|---|---|
com.google.gwt.dom.client.Element |
container
Gets the parent container.
|
VRButtonViewModel |
viewModel
Gets the view model.
|
| Constructor and Description |
|---|
VRButton(com.google.gwt.dom.client.Element container,
Scene scene)
A single button widget for toggling vr mode.
|
VRButton(com.google.gwt.dom.client.Element container,
Scene scene,
com.google.gwt.dom.client.Element vrElement)
A single button widget for toggling vr mode.
|
VRButton(String container,
Scene scene)
A single button widget for toggling vr mode.
|
VRButton(String container,
Scene scene,
com.google.gwt.dom.client.Element vrElement)
A single button widget for toggling vr mode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys the widget.
|
boolean |
isDestroyed()
true if the object has been destroyed, false otherwise.
|
@JsProperty public com.google.gwt.dom.client.Element container
@JsProperty public VRButtonViewModel viewModel
@JsConstructor public VRButton(String container, Scene scene)
container - The ID that will contain the widget.scene - The scene.@JsConstructor public VRButton(String container, Scene scene, com.google.gwt.dom.client.Element vrElement)
container - The ID that will contain the widget.scene - The scene.vrElement - The element or id to be placed into vr mode.@JsConstructor
public VRButton(com.google.gwt.dom.client.Element container,
Scene scene)
container - The DOM element that will contain the widget.scene - The scene.@JsConstructor
public VRButton(com.google.gwt.dom.client.Element container,
Scene scene,
com.google.gwt.dom.client.Element vrElement)
container - The DOM element that will contain the widget.scene - The scene.vrElement - The element or id to be placed into vr mode.@JsMethod public void destroy()
@JsMethod public boolean isDestroyed()
Copyright © 2019. All rights reserved.