tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

webxr-plane-detection.idl (840B)


      1 // GENERATED CONTENT - DO NOT EDIT
      2 // Content was automatically extracted by Reffy into webref
      3 // (https://github.com/w3c/webref)
      4 // Source: WebXR Plane Detection Module (https://immersive-web.github.io/plane-detection/)
      5 
      6 enum XRPlaneOrientation {
      7    "horizontal",
      8    "vertical"
      9 };
     10 
     11 [Exposed=Window]
     12 interface XRPlane {
     13    [SameObject] readonly attribute XRSpace planeSpace;
     14 
     15    readonly attribute FrozenArray<DOMPointReadOnly> polygon;
     16    readonly attribute XRPlaneOrientation? orientation;
     17    readonly attribute DOMHighResTimeStamp lastChangedTime;
     18    readonly attribute DOMString? semanticLabel;
     19 };
     20 
     21 [Exposed=Window]
     22 interface XRPlaneSet {
     23  readonly setlike<XRPlane>;
     24 };
     25 
     26 partial interface XRFrame {
     27  readonly attribute XRPlaneSet detectedPlanes;
     28 };
     29 
     30 partial interface XRSession {
     31  Promise<undefined> initiateRoomCapture();
     32 };