OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // https://w3c.github.io/webvr/#interface-vrframedata | 5 // https://w3c.github.io/webvr/#interface-vrframedata |
6 [ | 6 [ |
7 RuntimeEnabled=WebVR, | 7 OriginTrialEnabled=WebVR, |
8 Constructor, | 8 Constructor, |
9 ] interface VRFrameData { | 9 ] interface VRFrameData { |
10 readonly attribute DOMHighResTimeStamp timestamp; | 10 readonly attribute DOMHighResTimeStamp timestamp; |
11 | 11 |
12 readonly attribute Float32Array leftProjectionMatrix; | 12 readonly attribute Float32Array leftProjectionMatrix; |
13 readonly attribute Float32Array leftViewMatrix; | 13 readonly attribute Float32Array leftViewMatrix; |
14 | 14 |
15 readonly attribute Float32Array rightProjectionMatrix; | 15 readonly attribute Float32Array rightProjectionMatrix; |
16 readonly attribute Float32Array rightViewMatrix; | 16 readonly attribute Float32Array rightViewMatrix; |
17 | 17 |
18 readonly attribute VRPose pose; | 18 readonly attribute VRPose pose; |
19 }; | 19 }; |
OLD | NEW |