The view model for
VRButton
.
Name | Type | Default | Description |
---|---|---|---|
scene |
Scene | The scene. | |
vrElement |
Element | String |
document.body
|
optional The element or id to be placed into VR mode. |
Members
-
Gets the Command to toggle VR mode.
-
Gets or sets whether or not VR functionality should be enabled.
See:
-
Gets whether or not VR mode is active.
-
Gets the tooltip. This property is observable.
-
Gets or sets the HTML element to place into VR mode when the corresponding button is pressed.