Skip to content

Commit

Permalink
Added getInputPose
Browse files Browse the repository at this point in the history
  • Loading branch information
toji committed Apr 24, 2018
1 parent 30c6383 commit add98af
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 41 deletions.
7 changes: 5 additions & 2 deletions index.bs
Expand Up @@ -86,9 +86,9 @@ spec: Feature Policy; urlPrefix: https://wicg.github.io/feature-policy/#
</style>


<b style="color: red; font-size: 1.3em">DO NOT IMPLEMENT</b>
<b style="color: red; font-size: 1.3em">UNSTABLE API</b>

<b>The version of the WebXR Device API represented in this document is incomplete and changing rapidly. Do not implement it at this time.</b>
<b>The version of the WebXR Device API represented in this document is incomplete and may change at any time.</b>

While this specification is under development some concepts may be represented better by the <a href="https://github.com/w3c/webvr/blob/master/explainer.md">WebXR Device API Explainer</a>.

Expand Down Expand Up @@ -513,6 +513,7 @@ XRPresentationFrame {#xrpresentationframe-interface}
readonly attribute FrozenArray&lt;XRView&gt; views;

XRDevicePose? getDevicePose(XRCoordinateSystem coordinateSystem);
XRInputPose? getInputPose(XRInputSource inputSource, XRCoordinateSystem coordinateSystem);
};
</pre>

Expand All @@ -522,6 +523,8 @@ An {{XRPresentationFrame}} provides all the values needed to render a single fra

<dfn method for="XRPresentationFrame">getDevicePose(coordinateSystem)</dfn>

<dfn method for="XRPresentationFrame">getInputPose(inputSource, coordinateSystem)</dfn>

Coordinate Systems {#coordinatesystems}
==================

Expand Down

0 comments on commit add98af

Please sign in to comment.