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