GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for XRHand.

Developer library 6

XRHand

WebXR Device API The **`XRHand`** interface is pair iterator (an ordered map) with the key being the hand joints and the value being an XRJointSpace. `XRHand` is returned by XRInputSource.hand. ## Instance properties - `size` - : Returns `25`, the size of the pair iterator. ## Instance methods The `XRHand` object is a pair iterator. It can directly be used in a for...of structure. `for (const joint of myHan

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/XRHand

XRSpace

e` may move in order to adjust based on reconfiguration of the user's headset or other motion-sensitive device. - XRJointSpace - : Represents the space of an XRHand joint. ## Instance properties _The `XRSpace` interface defines no properties of its own; however, it does inherit the properties of its parent interface, EventTarget._ ## Instance methods _The `XRSpace` interface provides no methods of its own. Howe

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/XRSpace

XRFrame

ining hit test results for a given XRTransientInputHitTestSource. - getJointPose() - : Returns an XRJointPose object providing the pose of a hand joint (see XRHand) relative to a given base space. - getLightEstimate() - : Returns an XRLightEstimate object containing estimated lighting values for an XRLightProbe. - getPose() - : Returns an XRPose object representing the spatial relationship between the two sp

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/XRFrame

XRFrame: fillJointRadii() method

rger than the number of elements in `radii`. ## Examples ### Obtaining radii for all joints of a hand To efficiently get all radii for all 25 joints of each XRHand, you can use the `fillJointRadii()` method. ```js let radii1 = new Float32Array(25); let radii2 = new Float32Array(25); function onXRFrame(xrFrame, renderer) { let hand1 = xrFrame.session.inputSources[0].hand; xrFrame.fillJointRadii(hand1.values()

XRFrame: getJointPose() method

WebXR Device API The **`getJointPose()`** method of the XRFrame interface returns an XRJointPose object providing the pose of a hand joint (see XRHand) relative to a given base space. ## Syntax ```js-nolint getJointPose(joint, baseSpace) ``` ### Parameters - `joint` - : An XRJointSpace specifying the hand joint space for which to obtain an XRJointPose describing the item's position and orientation. - `baseSpac

XRFrame: fillPoses() method

than the number of elements in `transforms`. ## Examples ### Obtaining poses for all joints of a hand To efficiently get all poses for all 25 joints of each XRHand, you can use the `fillPoses()` method. ```js let poses1 = new Float32Array(16 * 25); let poses2 = new Float32Array(16 * 25); function onXRFrame(xrFrame, renderer) { let hand1 = xrFrame.session.inputSources[0].hand; xrFrame.fillPoses(hand1.values()

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/XRFrame/fillPoses

JSON results · Services directory