Back to Content

XRRenderState: depthNear property

files/en-us/web/api/xrrenderstate/depthnear/index.md

latest341 B
Original Source

{{APIRef("WebXR Device API")}}{{SeeCompatTable}}{{SecureContext_Header}}

The depthNear read-only property of the {{domxref("XRRenderState")}} interface returns the distance in meters of the near clip plane from the viewer.

Value

A {{jsxref("Number")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}