Class XRCommonHandGestures.PinchPoseUpdatedEventArgs
Event-args type for when the pinch pose updates.
Inherited Members
Namespace: UnityEngine.XR.Hands
Assembly: Unity.XR.Hands.dll
Syntax
public class XRCommonHandGestures.PinchPoseUpdatedEventArgs
Properties
commonGestures
The common gestures that raised this event.
Declaration
public XRCommonHandGestures commonGestures { get; }
Property Value
| Type | Description |
|---|---|
| XRCommonHandGestures |
See Also
handedness
Which hand is being updated.
Declaration
public Handedness handedness { get; }
Property Value
| Type | Description |
|---|---|
| Handedness |
See Also
Methods
GetPinchPoseIsTracked()
Gets whether the pinch pose is tracked.
Declaration
public bool GetPinchPoseIsTracked()
Returns
| Type | Description |
|---|---|
| bool | Returns true if the pinch pose is tracked. Returns false otherwise. |
See Also
TryGetPinchPose(out Pose)
Attempts to get the pinch pose.
Declaration
public bool TryGetPinchPose(out Pose pinchPose)
Parameters
| Type | Name | Description |
|---|---|---|
| Pose | pinchPose | Will be filled out with the pinch pose, if successful. |
Returns
| Type | Description |
|---|---|
| bool |