WebIDLpedia

XRCPUDepthInformation interface

Definition

WebXR Depth Sensing Module defines XRCPUDepthInformation



[Exposed=Window]
interface XRCPUDepthInformation : XRDepthInformation {
  [SameObject] readonly attribute ArrayBuffer data;

  float getDepthInMeters(float x, float y);
};

Methods and attributes that return objects implementing XRCPUDepthInformation

Referring IDL interfaces/dictionaries