防止 Google Web VR 视图中的垂直移动

Prevent vertical movement in Google Web VR View

有没有办法修复 Google Web VR View 的视图,使其不会上下移动。目前我有一个房间内有地板的图像。当你用 iPhone 查看它时,如果你正常将它拿在手中,它会自动指向地板,你不会知道上面有什么可看的。没有人会举起他们的 phone 然后去 "Ahhhhhhh" 有什么想法吗?

听起来您想要 is_yaw_only 选项? https://developers.google.com/vr/develop/web/vrview-web#vr_view