Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for XRView.
Developer library 6
XRViewport
WebXR Device API The WebXR Device API's **`XRViewport`** interface provides properties used to describe the size and position of the current viewport within the XRWebGLLayer being used to render the 3D scene. ## Instance properties - height - : The height, in pixels, of the viewport. - width - : The width, in pixels, of the viewport. - x - : The offset from the origin of the destination graphics surface (
XRWebGLSubImage: imageIndex property
onst viewport = xrGlBinding.getSubImage(layer, xrFrame).viewport; gl.viewport(viewport.x, viewport.y, viewport.width, viewport.height); for (const view in xrViewerPose.views) { const subImage = xrGlBinding.getViewSubImage(layer, view); gl.framebufferTextureLayer( gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, subImage.colorTexture, 0, subImage.imageIndex, ); gl.framebufferTex
XRWebGLSubImage: colorTexture property
onst viewport = xrGlBinding.getSubImage(layer, xrFrame).viewport; gl.viewport(viewport.x, viewport.y, viewport.width, viewport.height); for (const view in xrViewerPose.views) { const subImage = xrGlBinding.getViewSubImage(layer, view); gl.framebufferTextureLayer( gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, subImage.colorTexture, 0, subImage.imageIndex, ); gl.framebufferTex
XRWebGLSubImage: depthStencilTexture property
onst viewport = xrGlBinding.getSubImage(layer, xrFrame).viewport; gl.viewport(viewport.x, viewport.y, viewport.width, viewport.height); for (const view in xrViewerPose.views) { const subImage = xrGlBinding.getViewSubImage(layer, view); gl.framebufferTextureLayer( gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, subImage.colorTexture, 0, subImage.imageIndex, ); gl.framebufferTex
XRFrame: getDepthInformation() method
t containing CPU depth information for the active and animated frame. ## Syntax ```js-nolint getDepthInformation(view) ``` ### Parameters - `view` - : An XRView object obtained from a viewer pose. ### Return value An XRCPUDepthInformation object. ### Exceptions - `NotSupportedError` DOMException - : Thrown if `"depth-sensing"` is not in the list of enabled features for this XRSession. - `InvalidStateError
XRViewerPose
WebXR Device API The WebXR Device API interface **`XRViewerPose`** represents the pose (the position and orientation) of a viewer's point of view on the scene. Each `XRViewerPose` can have multiple views to represent, for example, the slight separation between the left and right eye. This view can represent anything from the point-of-view of a user's XR headset to the viewpoint represented by a player's movement of