OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 enum VREye { | |
6 "left", | |
7 "right" | |
8 }; | |
9 | |
10 [ | |
11 RuntimeEnabled=VRDevice, | |
12 GarbageCollected, | |
philipj_slow
2015/02/06 01:57:14
Add TypeChecking=Interface to all interfaces where
| |
13 ] interface HMDVRDevice : VRDevice { | |
14 DOMPoint getEyeTranslation(VREye whichEye); | |
philipj_slow
2015/02/06 01:57:14
I guess you know about https://groups.google.com/a
| |
15 VRFieldOfView getCurrentEyeFieldOfView(VREye whichEye); | |
16 VRFieldOfView getRecommendedEyeFieldOfView(VREye whichEye); | |
17 VRFieldOfView getMaximumEyeFieldOfView(VREye whichEye); | |
18 void setFieldOfView(optional VRFieldOfView leftFov, optional VRFieldOfView r ightFov); | |
19 DOMRect getRecommendedEyeRenderRect(VREye whichEye); | |
20 }; | |
OLD | NEW |