HandPosing
A tool for quickly authoring hand poses to objects in VR using hand-tracking
HandPosing.OVRIntegration.GrabEngine.PinchTriggerFlex Class Reference

This flex interface compares if the user is pinching with the Index or the Middle Finger. It can track the pinches in high and low confidence if specified, and tipically returns a fairly safe value since it relies on OVR methods for calculating the pinching. More...

Inheritance diagram for HandPosing.OVRIntegration.GrabEngine.PinchTriggerFlex:
HandPosing.OVRIntegration.GrabEngine.FlexInterface

Properties

bool IsValid [get]
 
float? GrabStrength [get]
 
Vector2 GrabThreshold [get]
 
Vector2 GrabAttemptThreshold [get]
 
float AlmostGrabRelease [get]
 
- Properties inherited from HandPosing.OVRIntegration.GrabEngine.FlexInterface
bool IsValid [get]
 True if the current Flex Interface can be used, for example the Hand is being tracked in the case of a hand-tracking flex. This is important so we can fallback to other FlexInterfaces in case one of them is not valid. More...
 
float? GrabStrength [get]
 Return normalized grab strength. More...
 
Vector2 GrabThreshold [get]
 Return strenght values to start (Y) or stop (X) grabbing. More...
 
Vector2 GrabAttemptThreshold [get]
 Return strenght values to indicate a grabbing attempt, can be narrower than GrabThresold. More...
 
float AlmostGrabRelease [get]
 Indicates the minimum value for a grab Typically a bit higher than the minimum GrabThreshold More...
 

Detailed Description

This flex interface compares if the user is pinching with the Index or the Middle Finger. It can track the pinches in high and low confidence if specified, and tipically returns a fairly safe value since it relies on OVR methods for calculating the pinching.


The documentation for this class was generated from the following file: