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, | |
13 TypeChecking=Interface | |
14 ] interface HMDVRDevice : VRDevice { | |
sof
2015/02/24 12:35:29
"HMD" - could you spell out that acronym here or i
| |
15 DOMPoint getEyeTranslation(VREye whichEye); | |
16 VRFieldOfView getCurrentEyeFieldOfView(VREye whichEye); | |
17 VRFieldOfView getRecommendedEyeFieldOfView(VREye whichEye); | |
18 VRFieldOfView getMaximumEyeFieldOfView(VREye whichEye); | |
19 DOMRect getRecommendedEyeRenderRect(VREye whichEye); | |
20 void setFieldOfView(optional VRFieldOfView leftFov, optional VRFieldOfView r ightFov); | |
21 }; | |
OLD | NEW |