Back to Content

XRSubImage: viewport property

files/en-us/web/api/xrsubimage/viewport/index.md

latest374 B
Original Source

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

The read-only viewport property of the {{domxref("XRSubImage")}} interface represents the {{domxref("XRViewport")}} that is used when rendering the sub image.

Value

An {{domxref("XRViewport")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("XRViewport")}}