| // Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // https://w3c.github.io/webvr/#interface-vrpose |
| [ |
| OriginTrialEnabled=WebVR |
| ] interface VRPose { |
| readonly attribute Float32Array? position; |
| [MeasureAs=VRPoseLinearVelocity] readonly attribute Float32Array? linearVelocity; |
| [MeasureAs=VRPoseLinearAcceleration] readonly attribute Float32Array? linearAcceleration; |
| readonly attribute Float32Array? orientation; |
| [MeasureAs=VRPoseAngularVelocity] readonly attribute Float32Array? angularVelocity; |
| [MeasureAs=VRPoseAngularAcceleration] readonly attribute Float32Array? angularAcceleration; |
| }; |