API reference
API reference
Select your platform
No SDKs available
No versions available

FingerPinchGrabAPI Class

Extends IFingerAPI
This IFingerAPI uses an advanced calculation for the pinch value of the fingers to detect if they are grabbing.
The implementation details of this pinch calculation are more low-level than Unity and are thus encapsulated below the managed-native boundary. This type merely provides an API surface through which to invoke the native functionality.

Member Functions

FingerPinchGrabAPI
( IHmd hmd )
Sets the current value of paramId .
Parameters
paramId
The PinchGrabParam for which to set the value
paramVal
The new value paramId should be set to
Retrieves the current value of paramId .
Parameters
paramId
The PinchGrabParam for which to retrieve the value
Returns
The current value of paramId
Checks whether hand tracking has good visibility on a pinch.
Returns
True if the hand tracking system believes it can see pinching well, false otherwise
Implementation of IFingerAPI.GetFingerIsGrabbing(HandFinger); for details, please refer to the related documentation provided for that property.
Determines the degree to which a particular finger is pinching.
Parameters
finger
The HandFinger to check
Returns
A percentage representation of how pinched finger is
Gets the finger pinch distance for the requested finger.
Parameters
finger
The HandFinger for which to check the pinch distance
Returns
Gets the offset between the wrist and the pinch point.
Returns
The offset between the wrist and the pinch point
Implementation of IFingerAPI.GetFingerIsGrabbingChanged(HandFinger, bool); for details, please refer to the related documentation provided for that property.
Implementation of IFingerAPI.GetFingerGrabScore(HandFinger); for details, please refer to the related documentation provided for that property.
Implementation of IFingerAPI.Update(IHand); for details, please refer to the related documentation provided for that property.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon