real-world-meshing.idl (681B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: WebXR Mesh Detection Module (https://immersive-web.github.io/real-world-meshing/) 5 6 [Exposed=Window] interface XRMesh { 7 [SameObject] readonly attribute XRSpace meshSpace; 8 9 readonly attribute FrozenArray<Float32Array> vertices; 10 readonly attribute Uint32Array indices; 11 readonly attribute DOMHighResTimeStamp lastChangedTime; 12 readonly attribute DOMString? semanticLabel; 13 }; 14 15 [Exposed=Window] interface XRMeshSet { 16 readonly setlike<XRMesh>; 17 }; 18 19 partial interface XRFrame { 20 readonly attribute XRMeshSet detectedMeshes; 21 };