API reference

IFingerUseAPI Interface

The IFingerUseAPI interface provides the user with methods and functions revolving around the HandFinger and their usage.
An implementation of this API will map a HandFinger to a user's input. (such as a controller 1D axis, or a pinch gesture) and then return a normalized value of that input to signify the strength of the action.

Methods

GetFingerUseStrength ( finger )
Calculates and returns the precision at which a HandFinger is being used by the user.
An example being how much the the user is pressing the HandFinger.Index Input on their controller.
Signature
float Oculus.Interaction.IFingerUseAPI.GetFingerUseStrength(HandFinger finger)
Parameters
finger: HandFinger  The strength at which the HandFigner inputs are being used
Returns
float  The precision in which the given HandFinger is being used