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

Represents interface for "flex" or grab strength. Serves as template for all grabbing methods. More...

Inheritance diagram for HandPosing.OVRIntegration.GrabEngine.FlexInterface:
HandPosing.OVRIntegration.GrabEngine.ControllerFlex HandPosing.OVRIntegration.GrabEngine.NoopFlex HandPosing.OVRIntegration.GrabEngine.PinchTriggerFlex HandPosing.OVRIntegration.GrabEngine.SphereGrabFlex HandPosing.OVRIntegration.GrabEngine.SphereGrabPinchFlex

Properties

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

Represents interface for "flex" or grab strength. Serves as template for all grabbing methods.

Property Documentation

◆ AlmostGrabRelease

float HandPosing.OVRIntegration.GrabEngine.FlexInterface.AlmostGrabRelease
get

Indicates the minimum value for a grab Typically a bit higher than the minimum GrabThreshold

◆ GrabAttemptThreshold

Vector2 HandPosing.OVRIntegration.GrabEngine.FlexInterface.GrabAttemptThreshold
get

Return strenght values to indicate a grabbing attempt, can be narrower than GrabThresold.

◆ GrabStrength

float? HandPosing.OVRIntegration.GrabEngine.FlexInterface.GrabStrength
get

Return normalized grab strength.

Returns
Grab strength, restricted to 0.0-1.0. Null if no strength is available

◆ GrabThreshold

Vector2 HandPosing.OVRIntegration.GrabEngine.FlexInterface.GrabThreshold
get

Return strenght values to start (Y) or stop (X) grabbing.

◆ IsValid

bool HandPosing.OVRIntegration.GrabEngine.FlexInterface.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.


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