You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plane detection extensions for test API SHOULD be implemented by all user agents that implement <a href="https://immersive-web.github.io/plane-detection/">WebXR Plane Detection Module</a>. These extensions depend on the [[#hit-test-extensions|Hit test extensions]].
{{FakeXRRegionInit/planeInfo}} is an optional dictionary that MAY be set when {{FakeXRRegionInit/type}} is {{FakeXRRegionType/"plane"}}. It MUST be ignored if {{FakeXRRegionInit/type}} is not {{FakeXRRegionType/"plane"}}. If {{FakeXRRegionInit/planeInfo}} is set, {{FakeXRRegionInit/faces}} should be used for hit-testing purposes, while the {{FakeXRPlaneInformationInit/polygon}} should be reported to the page as-is. The two MAY describe different areas. No information in {{FakeXRPlaneInformationInit}} overrides any data from it's containing {{FakeXRRegionInit}}.
776
+
777
+
{{FakeXRPlaneInformationInit/polygon}} contains the points that describe the polygon representing the plane. They MUST be in the form of a loop of points at the edges of the polygon in the coordinate system defined by {{FakeXRPlaneInformationInit/origin}}.
778
+
779
+
If {{FakeXRPlaneInformationInit/semanticLabel}} is set, the user agent MAY ignore any value that is not in the <a href="https://github.com/immersive-web/semantic-labels">semantic label registry</a>.
0 commit comments