|
14 | 14 | "html": "<p>Let <var>session</var> be a <var>frame</var>’s <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/webxr/#dom-xrframe-session\" id=\"ref-for-dom-xrframe-session\">session</a>.</p>" |
15 | 15 | }, |
16 | 16 | { |
17 | | - "html": "<p>Let <var>device</var> be a <var>session</var>’s <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/webxr/#xrsession-xr-device\" id=\"ref-for-xrsession-xr-device②\">XR device</a>.</p>" |
| 17 | + "html": "<p>Let <var>device</var> be a <var>session</var>’s <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/webxr/#xrsession-xr-device\" id=\"ref-for-xrsession-xr-device③\">XR device</a>.</p>" |
| 18 | + }, |
| 19 | + { |
| 20 | + "html": "<p>If <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/plane-detection/#plane-detection\" id=\"ref-for-plane-detection①\">plane-detection</a> feature descriptor is not <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#list-contain\" id=\"ref-for-list-contain①\">contained</a> in <var>device</var>’s <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/webxr/#dom-xrsession-enabledfeatures\" id=\"ref-for-dom-xrsession-enabledfeatures①\">list of enabled features</a> for <var>session</var>’s <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/webxr/#xrsession-mode\" id=\"ref-for-xrsession-mode①\">mode</a>, abort these steps.</p>" |
18 | 21 | }, |
19 | 22 | { |
20 | 23 | "html": "<p>Let <var>trackedPlanes</var> be a result of calling into <var>device</var>’s <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/plane-detection/#native-plane-detection\" id=\"ref-for-native-plane-detection①\">native plane detection</a> capability to obtain tracked planes at <var>frame</var>’s <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/webxr/#xrframe-time\" id=\"ref-for-xrframe-time\">time</a>.</p>" |
|
48 | 51 | { |
49 | 52 | "name": "create-plane-object", |
50 | 53 | "href": "https://immersive-web.github.io/plane-detection/#create-plane-object", |
51 | | - "html": "In order to <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"create-plane-object\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">create plane object</dfn> from a <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/plane-detection/#native-plane-objects\" id=\"ref-for-native-plane-objects\">native plane object</a> <var>native plane</var> and <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://immersive-web.github.io/webxr/#xrframe\" id=\"ref-for-xrframe③\">XRFrame</a></code> <var>frame</var>, the user agent MUST run the following steps:\n\n \n <p>A plane object, <var>result</var>, created in such way is said to <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"correspond-to\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">correspond to</dfn> the passed in native plane object <var>native plane</var>.</p>", |
| 54 | + "html": "In order to <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"create-plane-object\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">create plane object</dfn> from a <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/plane-detection/#native-plane-objects\" id=\"ref-for-native-plane-objects\">native plane object</a> <var>native plane</var> and <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://immersive-web.github.io/webxr/#xrframe-interface\" id=\"ref-for-xrframe-interface③\">XRFrame</a></code> <var>frame</var>, the user agent MUST run the following steps:\n\n \n <p>A plane object, <var>result</var>, created in such way is said to <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"correspond-to\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">correspond to</dfn> the passed in native plane object <var>native plane</var>.</p>", |
52 | 55 | "rationale": ".algorithm", |
53 | 56 | "steps": [ |
54 | 57 | { |
|
58 | 61 | "html": "<p>Set <var>result</var>’s <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/plane-detection/#xrplane-native-entity\" id=\"ref-for-xrplane-native-entity\">native entity</a> to <var>native plane</var>.</p>" |
59 | 62 | }, |
60 | 63 | { |
61 | | - "html": "<p>Set <var>result</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://immersive-web.github.io/plane-detection/#dom-xrplane-planespace\" id=\"ref-for-dom-xrplane-planespace⑤\">planeSpace</a></code> to a new <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://immersive-web.github.io/webxr/#xrspace\" id=\"ref-for-xrspace③\">XRSpace</a></code> object created with <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/webxr/#xrspace-session\" id=\"ref-for-xrspace-session\">session</a> set to <var>frame</var>’s <code class=\"idl\"><a data-link-type=\"idl\" data-refhint-key=\"https://immersive-web.github.io/webxr/#dom-xrframe-session\" href=\"https://immersive-web.github.io/webxr/#dom-xrframe-session\" id=\"ref-for-dom-xrframe-session①\">session</a></code> and <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/webxr/#xrspace-native-origin\" id=\"ref-for-xrspace-native-origin①\">native origin</a> set to track <var>native plane</var>’s native origin.</p>" |
| 64 | + "html": "<p>Set <var>result</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://immersive-web.github.io/plane-detection/#dom-xrplane-planespace\" id=\"ref-for-dom-xrplane-planespace⑤\">planeSpace</a></code> to a new <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://immersive-web.github.io/webxr/#xrspace-interface\" id=\"ref-for-xrspace-interface③\">XRSpace</a></code> object created with <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/webxr/#xrspace-session\" id=\"ref-for-xrspace-session\">session</a> set to <var>frame</var>’s <code class=\"idl\"><a data-link-type=\"idl\" data-refhint-key=\"https://immersive-web.github.io/webxr/#dom-xrframe-session\" href=\"https://immersive-web.github.io/webxr/#dom-xrframe-session\" id=\"ref-for-dom-xrframe-session①\">session</a></code> and <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/webxr/#xrspace-native-origin\" id=\"ref-for-xrspace-native-origin①\">native origin</a> set to track <var>native plane</var>’s native origin.</p>" |
62 | 65 | }, |
63 | 66 | { |
64 | 67 | "html": "<p>Invoke <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/plane-detection/#update-plane-object\" id=\"ref-for-update-plane-object①\">update plane object</a> algorithm with <var>result</var>, <var>native plane</var>, and <var>frame</var>.</p>" |
|
71 | 74 | { |
72 | 75 | "name": "update-plane-object", |
73 | 76 | "href": "https://immersive-web.github.io/plane-detection/#update-plane-object", |
74 | | - "html": "In order to <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"update-plane-object\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">update plane object</dfn> <var>plane</var> from a <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/plane-detection/#native-plane-objects\" id=\"ref-for-native-plane-objects①\">native plane object</a> <var>native plane</var> and <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://immersive-web.github.io/webxr/#xrframe\" id=\"ref-for-xrframe④\">XRFrame</a></code> <var>frame</var>, the user agent MUST run the following steps:", |
| 77 | + "html": "In order to <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"update-plane-object\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">update plane object</dfn> <var>plane</var> from a <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/plane-detection/#native-plane-objects\" id=\"ref-for-native-plane-objects①\">native plane object</a> <var>native plane</var> and <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://immersive-web.github.io/webxr/#xrframe-interface\" id=\"ref-for-xrframe-interface④\">XRFrame</a></code> <var>frame</var>, the user agent MUST run the following steps:", |
75 | 78 | "rationale": ".algorithm", |
76 | 79 | "steps": [ |
77 | 80 | { |
|
84 | 87 | "html": "<p>Set <var>plane</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://immersive-web.github.io/plane-detection/#dom-xrplane-polygon\" id=\"ref-for-dom-xrplane-polygon①\">polygon</a></code> to the new array of vertices representing <var>native plane</var>’s polygon, performing all necessary conversions to account for differences in native plane polygon representation.</p>" |
85 | 88 | }, |
86 | 89 | { |
87 | | - "html": "<div class=\"unstable\">Set <var>plane</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://immersive-web.github.io/plane-detection/#dom-xrplane-semanticlabel\" id=\"ref-for-dom-xrplane-semanticlabel①\">semanticLabel</a></code> to a new string with the <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/plane-detection/#semantic-label\" id=\"ref-for-semantic-label②\">semantic labels</a>.</div>" |
| 90 | + "html": "<p>Set <var>plane</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://immersive-web.github.io/plane-detection/#dom-xrplane-semanticlabel\" id=\"ref-for-dom-xrplane-semanticlabel①\">semanticLabel</a></code> to a new string with the <a data-link-type=\"dfn\" href=\"https://immersive-web.github.io/plane-detection/#semantic-label\" id=\"ref-for-semantic-label②\">semantic labels</a>.</p>" |
88 | 91 | }, |
89 | 92 | { |
90 | 93 | "html": "<p>If desired, reduce the level of detail of the <var>plane</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://immersive-web.github.io/plane-detection/#dom-xrplane-polygon\" id=\"ref-for-dom-xrplane-polygon②\">polygon</a></code> as described in <a href=\"https://immersive-web.github.io/plane-detection/#privacy-security\">§ 6 Privacy & Security Considerations</a>.</p>" |
|
0 commit comments