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

IFingerAPI Interface

Provides a standardized interface for tracking and measuring finger-based interactions in the Interaction SDK.
This interface enables different implementation methods for detecting palm grab, pinching, finger curl, and other hand poses. See Oculus.Interaction.GrabAPI.FingerPalmGrabAPI and Oculus.Interaction.GrabAPI.FingerPinchGrabAPI for example implementations.

Member Functions

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.
Gets the local space offset from the wrist position for grab calculations.
Returns
The offset vector in local space coordinates.
Updates the finger API with the latest hand tracking data.
Parameters
hand
The IHand tracking data to process.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon