Back to Content

XRRenderState: inlineVerticalFieldOfView property

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

latest665 B
Original Source

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

The read-only inlineVerticalFieldOfView property of the {{DOMxRef("XRRenderState")}} interface returns the default vertical field of view for "inline" sessions and null for all immersive sessions.

Value

A {{JSxRef("Number")}} for "inline" sessions, which represents the default field of view, and null for immersive sessions.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{DOMxRef("XRSystem.requestSession", "navigator.xr.requestSession()")}}
  • {{DOMxRef("XRSystem.isSessionSupported", "navigator.xr.isSessionSupported()")}}