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;
};
XRDepthInformation includes XRViewGeometry;
Consolidated IDL (across mixin and partials)
[SecureContext, Exposed=Window]
interface XRDepthInformation {
readonly attribute unsigned long width;
readonly attribute unsigned long height;
[SameObject] readonly attribute XRRigidTransform normDepthBufferFromNormView;
readonly attribute float rawValueToMeters;
readonly attribute Float32Array projectionMatrix;
[SameObject] readonly attribute XRRigidTransform transform;
};