XRInputSource.gripSpace

Draft
This page is not complete.

Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The XRInputSource.gripSpace read-only property of the XRInputSource interface returns an XRSpace whose native origin tracks the pose that should be used to render virtual objects such that they appear to be held in the user's hand. For example, if a user were holding a virtual straight rod, the native origin of this XRSpace would be the approximate center of the user's curled fingers.

Syntax

var xrSpace = XRInputSource.gripSpace;

Value

An XRSpace.

Specifications

Specification Status Comment
WebXR Device API
The definition of 'XRInputSource.gripSpace' in that specification.
Working Draft Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
gripSpaceChrome Full support 79Edge No support NoFirefox No support NoIE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android Full support 79Firefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android No support No

Legend

Full support  
Full support
No support  
No support