Liking cljdoc? Tell your friends :D

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.

[Draft]

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

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

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

Method.

[Draft]

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

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

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

get-viewer-posecljs

(get-viewer-pose this reference-space)

Method.

[Draft]

The XRFrame.getViewerPose() method of the web.ar.XRFrame interface an XRViewerPose corresponding to the viewer's pose in a given

var xrViewerPose = XRFrame.getViewerPose(referenceSpace);

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

Method.

[Draft]

The XRFrame.getViewerPose() method of the `web.ar.XRFrame` interface
an `XRViewerPose` corresponding to the viewer's pose in a given

`var xrViewerPose = XRFrame.getViewerPose(referenceSpace);`

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

sessioncljs

(session this)

Property.

[Read Only]

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.

[Read Only]

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