XRSession: renderState property
Limited availability
The
read-only renderState
property of an
XRRenderState
object describing how the user's environment which should be rendered. The
information provided covers the minimum and maximum distance at which to render objects,
the vertical field of view to use when rendering the in the inline
session
mode, and the XRWebGLLayer
to render into for inline composition.
While this property is read only, you can call the XRSession
method
MDN Blog RSS Feed
\n
The\nread-only renderState
property of an\nXRSession
method\nWebXR Device API\nExperimental\n
domOverlayState
\nExperimental\npreferredReflectionFormat
\nExperimental\nend()
\nExperimental\nrequestLightProbe()
\nExperimental\ninputsourceschange
\nExperimental\nsqueeze
\nExperimental\nEventTarget
Related pages for WebXR Device API
XRBoundedReferenceSpace
\nExperimental\nXRInputSource
XRPose
XRRigidTransform
XRView
\nExperimental\nXRWebGLDepthInformation
\nExperimental\nXRWebGLLayer
\nExperimental\n
","source":{"folder":"en-us/web/api/xrsession/renderstate","github_url":"https://github.com/mdn/content/blob/main/files/en-us/web/api/xrsession/renderstate/index.md","last_commit_url":"https://github.com/mdn/content/commit/89c435da452257b944b403cc9e45036fcb22590e","filename":"index.md"},"summary":"The\nread-only renderState property of an\nXRSession object indicates the returns a XRRenderState\nobject describing how the user's environment which should be rendered. The\ninformation provided covers the minimum and maximum distance at which to render objects,\nthe vertical field of view to use when rendering the in the inline session\nmode, and the XRWebGLLayer to render into for inline composition.","title":"XRSession: renderState property","toc":[{"text":"Value","id":"value"},{"text":"Specifications","id":"specifications"},{"text":"Browser compatibility","id":"browser_compatibility"}],"baseline":{"baseline":false,"support":{"chrome":"79","chrome_android":"79","edge":"79"}},"browserCompat":["api.XRSession.renderState"],"pageType":"web-api-instance-property"}}