The XRInputSource interface of the WebXR Device API returns information
the Web AR/VR control device being used. The control device is
and defines a primary action. A primary action is a trigger,
button, spoken command, or hand gesture that when performed produces
selectend
, and select
events.
The XRInputSource interface of the WebXR Device API returns information the Web AR/VR control device being used. The control device is and defines a primary action. A primary action is a trigger, button, spoken command, or hand gesture that when performed produces `selectend`, and `select` events.
(grip-space this)
Property.
[Read Only] [Draft]
The XRInputSource.gripSpace read-only property of the web.ar.XRInputSource
returns an web.ar.XRSpace
whose native origin tracks the pose
should be used to render virtual objects such that they appear
be held in the user's hand. For example, if a user were holding
virtual straight rod, the native origin of this XRSpace would
the approximate center of the user's curled fingers.
var xrSpace = XRInputSource.gripSpace;
See also: https://developer.mozilla.org/en-US/docs/Web/API/XRInputSource/gripSpace
Property. [Read Only] [Draft] The XRInputSource.gripSpace read-only property of the `web.ar.XRInputSource` returns an `web.ar.XRSpace` whose native origin tracks the pose should be used to render virtual objects such that they appear be held in the user's hand. For example, if a user were holding virtual straight rod, the native origin of this XRSpace would the approximate center of the user's curled fingers. `var xrSpace = XRInputSource.gripSpace;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/XRInputSource/gripSpace`
(handedness this)
Property.
Describes which hand the XRInputSource is associates with, if This will be one of "left", "right", or "none".
Property. Describes which hand the XRInputSource is associates with, if This will be one of "left", "right", or "none".
(profiles this)
Property.
Returns an array of input profile names indicating both the preferred representation and behavior of the input source.
Property. Returns an array of input profile names indicating both the preferred representation and behavior of the input source.
(set-handedness! this val)
Property.
Describes which hand the XRInputSource is associates with, if This will be one of "left", "right", or "none".
Property. Describes which hand the XRInputSource is associates with, if This will be one of "left", "right", or "none".
(set-profiles! this val)
Property.
Returns an array of input profile names indicating both the preferred representation and behavior of the input source.
Property. Returns an array of input profile names indicating both the preferred representation and behavior of the input source.
(set-target-ray-mode! this val)
Property.
Returns the method used to produce the target ray. This will one of "gaze", "tracked-pointer", or "screen".
Property. Returns the method used to produce the target ray. This will one of "gaze", "tracked-pointer", or "screen".
(set-target-ray-space! this val)
Property.
Returns an XRSpace with a native origin tracking the position orientation of the preferred point ray as defined by XRInputSource.targetRayMode.
Property. Returns an XRSpace with a native origin tracking the position orientation of the preferred point ray as defined by XRInputSource.targetRayMode.
(target-ray-mode this)
Property.
Returns the method used to produce the target ray. This will one of "gaze", "tracked-pointer", or "screen".
Property. Returns the method used to produce the target ray. This will one of "gaze", "tracked-pointer", or "screen".
(target-ray-space this)
Property.
Returns an XRSpace with a native origin tracking the position orientation of the preferred point ray as defined by XRInputSource.targetRayMode.
Property. Returns an XRSpace with a native origin tracking the position orientation of the preferred point ray as defined by XRInputSource.targetRayMode.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close