blob: e935c5fe015125ed3b333f0ab4801bf2e29b42ec [file] [log] [blame]
// 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;
};