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

FingerPinchGrabAPI Class

Extends IFingerAPI
This Finger API uses an advanced calculation for the pinch value of the fingers to detect if they are grabbing.

Member Functions

FingerPinchGrabAPI
( IHmd hmd )
void SetPinchGrabParam
( PinchGrabParam paramId,
float paramVal )
float GetPinchGrabParam
( PinchGrabParam paramId )
bool GetIsPinchVisibilityGood ( )
bool GetFingerIsGrabbing
( HandFinger finger )
float GetFingerPinchPercent
( HandFinger finger )
float GetFingerPinchDistance
( HandFinger finger )
Vector3 GetWristOffsetLocal ( )
bool GetFingerIsGrabbingChanged
( HandFinger finger,
bool targetPinchState )
float GetFingerGrabScore
( HandFinger finger )
void Update
( IHand hand )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon