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, | |
9 Constructor(optional VRFieldOfViewInit fov), | 8 Constructor(optional VRFieldOfViewInit fov), |
10 ] interface VRFieldOfView { | 9 ] interface VRFieldOfView { |
11 attribute double upDegrees; | 10 attribute double upDegrees; |
12 attribute double downDegrees; | 11 attribute double downDegrees; |
13 attribute double leftDegrees; | 12 attribute double leftDegrees; |
14 attribute double rightDegrees; | 13 attribute double rightDegrees; |
15 }; | 14 }; |
OLD | NEW |