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

FingerPalmGrabAPI Class

Extends IFingerAPI
This Finger API uses the curl value of the fingers to detect if they are grabbing

Member Functions

FingerPalmGrabAPI ( )
Determines if a specific finger is currently in a grabbing state.
Parameters
finger
The HandFinger to check for grabbing state.
Returns
True if the specified finger is grabbing, false otherwise.
Detects changes in a finger's grabbing state relative to a target state.
Parameters
finger
The HandFinger to check for state changes.
targetPinchState
The target grab state to compare against.
Returns
True if the finger's grab state has changed to match the target state.
Retrieves a normalized score indicating how strongly a finger is grabbing.
Parameters
finger
The HandFinger to evaluate.
Returns
A value between 0 and 1, where 0 indicates no grab and 1 indicates maximum grab strength.
Updates the finger API with the latest hand tracking data.
Parameters
hand
The IHand tracking data to process.
Gets the local space offset from the wrist position for grab calculations.
Returns
The offset vector in local space coordinates.
void SetConfigParamFloat
( PalmGrabParamID paramId,
float paramVal )
float GetConfigParamFloat
( PalmGrabParamID paramId )
void SetConfigParamVec3
( PalmGrabParamID paramId,
Vector3 paramVal )
Vector3 GetConfigParamVec3
( PalmGrabParamID paramId )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon