Liking cljdoc? Tell your friends :D

web.XRSession

The XRSession is a WebVR API interface that enables interactions XR hardware.

The XRSession is a WebVR API interface that enables interactions
XR hardware.
raw docstring

cancel-animation-framecljs

(cancel-animation-frame this handle)

Method.

The XRSession.cancelAnimationFrame method cancels an animation previously requested via a call to web.XRSession.requestAnimationFrame.

XRSession.cancelAnimationFrame(handle)

See also: https://developer.mozilla.org/en-US/docs/Web/API/XRSession/cancelAnimationFrame

Method.

The XRSession.cancelAnimationFrame method cancels an animation
previously requested via a call to `web.XRSession.requestAnimationFrame`.

`XRSession.cancelAnimationFrame(handle)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XRSession/cancelAnimationFrame`
sourceraw docstring

endcljs

(end this)

Method.

The end method of web.XRSession shuts down the XR session that is invoked on and returns a promise.

XRSession.end()

See also: https://developer.mozilla.org/en-US/docs/Web/API/XRSession/end

Method.

The end method of `web.XRSession` shuts down the XR session that
is invoked on and returns a promise.

`XRSession.end()`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XRSession/end`
sourceraw docstring

request-animation-framecljs

(request-animation-frame this & args)

Method.

The requestAnimationFrame method of web.XRSession is the primary to run the application logic to update the scene during the XR The method will take a callback you provide and schedule it to run before the next repaint (once).

function onXRAnimationFrame(DOMHighResTimeStamp, XRFrame) { ... } XRSession.requestAnimationFrame(onXRAnimationFrame)

See also: https://developer.mozilla.org/en-US/docs/Web/API/XRSession/requestAnimationFrame

Method.

The requestAnimationFrame method of `web.XRSession` is the primary
to run the application logic to update the scene during the XR
The method will take a callback you provide and schedule it to
run before the next repaint (once).

`function onXRAnimationFrame(DOMHighResTimeStamp, XRFrame) { ... }
XRSession.requestAnimationFrame(onXRAnimationFrame)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XRSession/requestAnimationFrame`
sourceraw docstring

update-render-statecljs

(update-render-state this & args)

Method.

The updateRenderState method of web.XRSession interface of API submits a new web.XRRenderState.

`XRSession.updateRenderState(...)

Note: Set web.inlineVerticalFieldOfView if and only if the web.XRSession is "inline".`

See also: https://developer.mozilla.org/en-US/docs/Web/API/XRSession/updateRenderState

Method.

The updateRenderState method of `web.XRSession` interface of
API submits a new `web.XRRenderState`.

`XRSession.updateRenderState(...)


Note: Set `web.inlineVerticalFieldOfView` if and only if the `web.XRSession` is \"inline\".`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XRSession/updateRenderState`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close