Represents interface for "flex" or grab strength. Serves as template for all grabbing methods.
More...
|
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...
|
|
Represents interface for "flex" or grab strength. Serves as template for all grabbing methods.
◆ 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:
- Samples~/IntegrationOVR/Scripts/FlexInterfaces/FlexInterface.cs