How do I get VrVideoView to start in Cardboard mode? [closed]

人走茶凉 提交于 2019-12-25 01:45:41

问题


http://trimensions.org/node/83 I am coding by importing the code from the link above. But this code starts on a small screen. As soon as I start, I want to start with the Cardboard mode (a mode with both left-eye and right-eye monitors). However, no matter how I read the code, the code to switch to Cardboard mode is not visible in this code. I think it is all contained in VrVideoView. If you know something, let me know. Thanks.


回答1:


Just add this line after declaring VrVideoView variable. I've declared it 'videoWidgetView'.

videoWidgetView.setDisplayMode(3);

1: Mono Display (Normal Screen)

2: Full Screen

3: Stereo Screen (CardBoard Mode)



来源:https://stackoverflow.com/questions/54881644/how-do-i-get-vrvideoview-to-start-in-cardboard-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!