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 OriginTrialEnabled=WebVR, | 7 OriginTrialEnabled=WebVR, |
8 Constructor, | 8 Constructor, |
9 ] interface VRFrameData { | 9 ] interface VRFrameData { |
10 readonly attribute DOMHighResTimeStamp timestamp; | |
11 | |
12 readonly attribute Float32Array leftProjectionMatrix; | 10 readonly attribute Float32Array leftProjectionMatrix; |
13 readonly attribute Float32Array leftViewMatrix; | 11 readonly attribute Float32Array leftViewMatrix; |
14 | 12 |
15 readonly attribute Float32Array rightProjectionMatrix; | 13 readonly attribute Float32Array rightProjectionMatrix; |
16 readonly attribute Float32Array rightViewMatrix; | 14 readonly attribute Float32Array rightViewMatrix; |
17 | 15 |
18 readonly attribute VRPose pose; | 16 readonly attribute VRPose pose; |
19 }; | 17 }; |
OLD | NEW |