用于拖动 vr 模式的单个按钮部件 .
| Name | Type | Default | Description |
|---|---|---|---|
container |
Element | string | The DOM element or ID that will contain the widget. | |
scene |
Scene | The scene. | |
vrElement |
Element | string |
document.body
|
optional The element or id to be placed into vr mode. |
Throws:
-
DeveloperError : Element with id "container" does not exist in the document.
Members
得到母容器.
viewModel : VRButtonViewModel
获得观音模型.