Liking cljdoc? Tell your friends :D
ClojureScript only.

web.ar.XRFrame

The XRFrame interface of the WebXR Device API provides information to render a single frame of an AR/VR scene to the display. An of this object is passed to each call of the callback provided XRSession.requestAnimationFrame.

The XRFrame interface of the WebXR Device API provides information
to render a single frame of an AR/VR scene to the display. An
of this object is passed to each call of the callback provided
`XRSession.requestAnimationFrame`.
raw docstring

get-posecljs

(get-pose this space base-space)

Method.

The getPose() method of the web.ar.XRFrame interface turns web.other.XRPose object representing the relative relationship any two XRSpace objects.

var xrPose = XRFrame.getPose(space, baseSpace);

See also: https://developer.mozilla.org/en-US/docs/Web/API/XRFrame/getPose

Method.

The getPose() method of the `web.ar.XRFrame` interface turns
`web.other.XRPose` object representing the relative relationship
any two `XRSpace` objects.

`var xrPose = XRFrame.getPose(space, baseSpace);`

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

sessioncljs

(session this)

Property.

The session readonly property of web.ar.XRFrame interface references web.ar.XRSession that produced it.

var xrSession = XRFrame.session

See also: https://developer.mozilla.org/en-US/docs/Web/API/XRFrame/session

Property.

The session readonly property of `web.ar.XRFrame` interface references
`web.ar.XRSession` that produced it.

`var xrSession = XRFrame.session`

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

set-session!cljs

(set-session! this val)

Property.

The session readonly property of web.ar.XRFrame interface references web.ar.XRSession that produced it.

var xrSession = XRFrame.session

See also: https://developer.mozilla.org/en-US/docs/Web/API/XRFrame/session

Property.

The session readonly property of `web.ar.XRFrame` interface references
`web.ar.XRSession` that produced it.

`var xrSession = XRFrame.session`

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

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

× close