Class XRCommonHandGestures.MicrogestureUpdatedEventArgs
Event-args type for when one or more microgestures become active or inactive.
Inherited Members
Namespace: UnityEngine.XR.Hands
Assembly: Unity.XR.Hands.dll
Syntax
public class XRCommonHandGestures.MicrogestureUpdatedEventArgs
Remarks
XRCommonHandGestures reuses one instance per hand. Its properties read the current state of commonGestures, so read them inside the microgestureUpdated listener.
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
swipeBackwardActive
Whether a backward thumb swipe is active as of the latest dynamic update.
Declaration
public bool swipeBackwardActive { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
swipeBackwardCompletedThisFrame
Whether a backward thumb swipe became inactive in the latest dynamic update.
Declaration
public bool swipeBackwardCompletedThisFrame { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
swipeBackwardPerformedThisFrame
Whether a backward thumb swipe became active in the latest dynamic update.
Declaration
public bool swipeBackwardPerformedThisFrame { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
swipeForwardActive
Whether a forward thumb swipe is active as of the latest dynamic update.
Declaration
public bool swipeForwardActive { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
swipeForwardCompletedThisFrame
Whether a forward thumb swipe became inactive in the latest dynamic update.
Declaration
public bool swipeForwardCompletedThisFrame { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
swipeForwardPerformedThisFrame
Whether a forward thumb swipe became active in the latest dynamic update.
Declaration
public bool swipeForwardPerformedThisFrame { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
swipeLeftActive
Whether a left thumb swipe is active as of the latest dynamic update.
Declaration
public bool swipeLeftActive { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
swipeLeftCompletedThisFrame
Whether a left thumb swipe became inactive in the latest dynamic update.
Declaration
public bool swipeLeftCompletedThisFrame { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
swipeLeftPerformedThisFrame
Whether a left thumb swipe became active in the latest dynamic update.
Declaration
public bool swipeLeftPerformedThisFrame { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
swipeRightActive
Whether a right thumb swipe is active as of the latest dynamic update.
Declaration
public bool swipeRightActive { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
swipeRightCompletedThisFrame
Whether a right thumb swipe became inactive in the latest dynamic update.
Declaration
public bool swipeRightCompletedThisFrame { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
swipeRightPerformedThisFrame
Whether a right thumb swipe became active in the latest dynamic update.
Declaration
public bool swipeRightPerformedThisFrame { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
tapThumbActive
Whether a thumb tap is active as of the latest dynamic update.
Declaration
public bool tapThumbActive { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
tapThumbCompletedThisFrame
Whether a thumb tap became inactive in the latest dynamic update.
Declaration
public bool tapThumbCompletedThisFrame { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
tapThumbPerformedThisFrame
Whether a thumb tap became active in the latest dynamic update.
Declaration
public bool tapThumbPerformedThisFrame { get; }
Property Value
| Type | Description |
|---|---|
| bool |