OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // http://mozvr.github.io/webvr-spec/webvr.html#vrfieldofview | 5 // http://mozvr.github.io/webvr-spec/webvr.html#vrfieldofview |
6 [ | 6 [ |
7 RuntimeEnabled=WebVR, | 7 RuntimeEnabled=WebVR, |
8 GarbageCollected, | 8 GarbageCollected, |
9 TypeChecking=Interface, | |
10 Constructor(optional VRFieldOfViewInit fov), | 9 Constructor(optional VRFieldOfViewInit fov), |
11 ] interface VRFieldOfView { | 10 ] interface VRFieldOfView { |
12 attribute double upDegrees; | 11 attribute double upDegrees; |
13 attribute double downDegrees; | 12 attribute double downDegrees; |
14 attribute double leftDegrees; | 13 attribute double leftDegrees; |
15 attribute double rightDegrees; | 14 attribute double rightDegrees; |
16 }; | 15 }; |
17 | |
OLD | NEW |