返回当前场景默认相机视图的单个按钮部件 .
| Name | Type | Description |
|---|---|---|
container |
Element | string | The DOM element or ID that will contain the widget. |
scene |
Scene | The Scene instance to use. |
duration |
number | optional 时间,几秒钟,它需要完成 相机飞行回家. |
Members
得到母容器.
viewModel : HomeButtonViewModel
获得观音模型.