Class XRCommonHandGestures.PinchValueUpdatedEventArgs
Event-args type for when the pinch value updates.
Inherited Members
Namespace: UnityEngine.XR.Hands
Assembly: Unity.XR.Hands.dll
Syntax
public class XRCommonHandGestures.PinchValueUpdatedEventArgs
Properties
handedness
Which hand is being updated.
Declaration
public Handedness handedness { get; }
Property Value
| Type | Description |
|---|---|
| Handedness |
Methods
TryGetPinchValue(out float)
Attempts to get the pinch value.
Declaration
public bool TryGetPinchValue(out float pinchValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | pinchValue | Will be filled out with the pinch value, if successful. |
Returns
| Type | Description |
|---|---|
| bool | Returns true and a valid value is filled out. Returns false otherwise. |