WebIDLpedia

XRDepthInformation interface

Definition

WebXR Depth Sensing Module defines XRDepthInformation



[SecureContext, Exposed=Window]
interface XRDepthInformation {
  readonly attribute unsigned long width;
  readonly attribute unsigned long height;

  [SameObject] readonly attribute XRRigidTransform normDepthBufferFromNormView;
  readonly attribute float rawValueToMeters;
};

Referring IDL interfaces/dictionaries