Show / Hide Table of Contents

Class GestureRecognizer

Inheritance
Object
GestureRecognizer
Implements
IDisposable
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.XR.WSA.Input
Assembly: UnityEngine.dll
Syntax
[MovedFrom("UnityEngine.VR.WSA.Input")]
public sealed class GestureRecognizer : IDisposable

Constructors

| Improve this Doc View Source

GestureRecognizer()

Declaration
public GestureRecognizer()

Methods

CancelGestures()

Declaration
public void CancelGestures()
| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

Finalize()

Declaration
protected void Finalize()
| Improve this Doc View Source

GetRecognizableGestures()

Retrieves the current recognizable gestures.

Declaration
public GestureSettings GetRecognizableGestures()
Returns
Type Description
GestureSettings

IsCapturingGestures()

Returns the enabled state of the gesture recognizer.

Declaration
public bool IsCapturingGestures()
Returns
Type Description
Boolean
| Improve this Doc View Source

SetRecognizableGestures(GestureSettings)

Sets the current recognizable gestures to the specified set. Returns the previous value.

Declaration
public GestureSettings SetRecognizableGestures(GestureSettings newMaskValue)
Parameters
Type Name Description
GestureSettings newMaskValue
Returns
Type Description
GestureSettings

StartCapturingGestures()

Enables this recognizer to start receiving interaction events

Declaration
public void StartCapturingGestures()

StopCapturingGestures()

Disabled this recognizer to stop receiving interaction events

Declaration
public void StopCapturingGestures()

Events

| Improve this Doc View Source

GestureError

Declaration
public event Action<GestureErrorEventArgs> GestureError
Event Type
Type Description
Action<GestureErrorEventArgs>
| Improve this Doc View Source

GestureErrorEvent

Declaration
[Obsolete("GestureErrorEvent is deprecated, and will be removed in a future release. Use OnGestureErrorEvent instead.", false)]
public event GestureRecognizer.GestureErrorDelegate GestureErrorEvent
Event Type
Type Description
GestureRecognizer.GestureErrorDelegate
| Improve this Doc View Source

HoldCanceled

Declaration
public event Action<HoldCanceledEventArgs> HoldCanceled
Event Type
Type Description
Action<HoldCanceledEventArgs>
| Improve this Doc View Source

HoldCanceledEvent

Declaration
[Obsolete("HoldCanceledEvent is deprecated, and will be removed in a future release. Use OnHoldCanceledEvent instead.", false)]
public event GestureRecognizer.HoldCanceledEventDelegate HoldCanceledEvent
Event Type
Type Description
GestureRecognizer.HoldCanceledEventDelegate
| Improve this Doc View Source

HoldCompleted

Declaration
public event Action<HoldCompletedEventArgs> HoldCompleted
Event Type
Type Description
Action<HoldCompletedEventArgs>
| Improve this Doc View Source

HoldCompletedEvent

Declaration
[Obsolete("HoldCompletedEvent is deprecated, and will be removed in a future release. Use OnHoldCompletedEvent instead.", false)]
public event GestureRecognizer.HoldCompletedEventDelegate HoldCompletedEvent
Event Type
Type Description
GestureRecognizer.HoldCompletedEventDelegate
| Improve this Doc View Source

HoldStarted

Declaration
public event Action<HoldStartedEventArgs> HoldStarted
Event Type
Type Description
Action<HoldStartedEventArgs>
| Improve this Doc View Source

HoldStartedEvent

Declaration
[Obsolete("HoldStartedEvent is deprecated, and will be removed in a future release. Use OnHoldStartedEvent instead.", false)]
public event GestureRecognizer.HoldStartedEventDelegate HoldStartedEvent
Event Type
Type Description
GestureRecognizer.HoldStartedEventDelegate
| Improve this Doc View Source

ManipulationCanceled

Declaration
public event Action<ManipulationCanceledEventArgs> ManipulationCanceled
Event Type
Type Description
Action<ManipulationCanceledEventArgs>
| Improve this Doc View Source

ManipulationCanceledEvent

Declaration
[Obsolete("ManipulationCanceledEvent is deprecated, and will be removed in a future release. Use OnManipulationCanceledEvent instead.", false)]
public event GestureRecognizer.ManipulationCanceledEventDelegate ManipulationCanceledEvent
Event Type
Type Description
GestureRecognizer.ManipulationCanceledEventDelegate
| Improve this Doc View Source

ManipulationCompleted

Declaration
public event Action<ManipulationCompletedEventArgs> ManipulationCompleted
Event Type
Type Description
Action<ManipulationCompletedEventArgs>
| Improve this Doc View Source

ManipulationCompletedEvent

Declaration
[Obsolete("ManipulationCompletedEvent is deprecated, and will be removed in a future release. Use OnManipulationCompletedEvent instead.", false)]
public event GestureRecognizer.ManipulationCompletedEventDelegate ManipulationCompletedEvent
Event Type
Type Description
GestureRecognizer.ManipulationCompletedEventDelegate
| Improve this Doc View Source

ManipulationStarted

Declaration
public event Action<ManipulationStartedEventArgs> ManipulationStarted
Event Type
Type Description
Action<ManipulationStartedEventArgs>
| Improve this Doc View Source

ManipulationStartedEvent

Declaration
[Obsolete("ManipulationStartedEvent is deprecated, and will be removed in a future release. Use OnManipulationStartedEvent instead.", false)]
public event GestureRecognizer.ManipulationStartedEventDelegate ManipulationStartedEvent
Event Type
Type Description
GestureRecognizer.ManipulationStartedEventDelegate
| Improve this Doc View Source

ManipulationUpdated

Declaration
public event Action<ManipulationUpdatedEventArgs> ManipulationUpdated
Event Type
Type Description
Action<ManipulationUpdatedEventArgs>
| Improve this Doc View Source

ManipulationUpdatedEvent

Declaration
[Obsolete("ManipulationUpdatedEvent is deprecated, and will be removed in a future release. Use OnManipulationUpdatedEvent instead.", false)]
public event GestureRecognizer.ManipulationUpdatedEventDelegate ManipulationUpdatedEvent
Event Type
Type Description
GestureRecognizer.ManipulationUpdatedEventDelegate
| Improve this Doc View Source

NavigationCanceled

Declaration
public event Action<NavigationCanceledEventArgs> NavigationCanceled
Event Type
Type Description
Action<NavigationCanceledEventArgs>
| Improve this Doc View Source

NavigationCanceledEvent

Declaration
[Obsolete("NavigationCanceledEvent is deprecated, and will be removed in a future release. Use OnNavigationCanceledEvent instead.", false)]
public event GestureRecognizer.NavigationCanceledEventDelegate NavigationCanceledEvent
Event Type
Type Description
GestureRecognizer.NavigationCanceledEventDelegate
| Improve this Doc View Source

NavigationCompleted

Declaration
public event Action<NavigationCompletedEventArgs> NavigationCompleted
Event Type
Type Description
Action<NavigationCompletedEventArgs>
| Improve this Doc View Source

NavigationCompletedEvent

Declaration
[Obsolete("NavigationCompletedEvent is deprecated, and will be removed in a future release. Use OnNavigationCompletedEvent instead.", false)]
public event GestureRecognizer.NavigationCompletedEventDelegate NavigationCompletedEvent
Event Type
Type Description
GestureRecognizer.NavigationCompletedEventDelegate
| Improve this Doc View Source

NavigationStarted

Declaration
public event Action<NavigationStartedEventArgs> NavigationStarted
Event Type
Type Description
Action<NavigationStartedEventArgs>
| Improve this Doc View Source

NavigationStartedEvent

Declaration
[Obsolete("NavigationStartedEvent is deprecated, and will be removed in a future release. Use OnNavigationStartedEvent instead.", false)]
public event GestureRecognizer.NavigationStartedEventDelegate NavigationStartedEvent
Event Type
Type Description
GestureRecognizer.NavigationStartedEventDelegate
| Improve this Doc View Source

NavigationUpdated

Declaration
public event Action<NavigationUpdatedEventArgs> NavigationUpdated
Event Type
Type Description
Action<NavigationUpdatedEventArgs>
| Improve this Doc View Source

NavigationUpdatedEvent

Declaration
[Obsolete("NavigationUpdatedEvent is deprecated, and will be removed in a future release. Use OnNavigationUpdatedEvent instead.", false)]
public event GestureRecognizer.NavigationUpdatedEventDelegate NavigationUpdatedEvent
Event Type
Type Description
GestureRecognizer.NavigationUpdatedEventDelegate
| Improve this Doc View Source

RecognitionEnded

Declaration
public event Action<RecognitionEndedEventArgs> RecognitionEnded
Event Type
Type Description
Action<RecognitionEndedEventArgs>
| Improve this Doc View Source

RecognitionEndedEvent

Declaration
[Obsolete("RecognitionEndedEvent is deprecated, and will be removed in a future release. Use OnRecognitionEndedEvent instead.", false)]
public event GestureRecognizer.RecognitionEndedEventDelegate RecognitionEndedEvent
Event Type
Type Description
GestureRecognizer.RecognitionEndedEventDelegate
| Improve this Doc View Source

RecognitionStarted

Declaration
public event Action<RecognitionStartedEventArgs> RecognitionStarted
Event Type
Type Description
Action<RecognitionStartedEventArgs>
| Improve this Doc View Source

RecognitionStartedEvent

Declaration
[Obsolete("RecognitionStartedEvent is deprecated, and will be removed in a future release. Use OnRecognitionStartedEvent instead.", false)]
public event GestureRecognizer.RecognitionStartedEventDelegate RecognitionStartedEvent
Event Type
Type Description
GestureRecognizer.RecognitionStartedEventDelegate
| Improve this Doc View Source

Tapped

Declaration
public event Action<TappedEventArgs> Tapped
Event Type
Type Description
Action<TappedEventArgs>
| Improve this Doc View Source

TappedEvent

Declaration
[Obsolete("TappedEvent is deprecated, and will be removed in a future release. Use Tapped instead.", false)]
public event GestureRecognizer.TappedEventDelegate TappedEvent
Event Type
Type Description
GestureRecognizer.TappedEventDelegate

Implements

System.IDisposable

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX