Class GestureRecognizer
Inheritance
GestureRecognizer
Assembly: UnityEngine.dll
[MovedFrom("UnityEngine.VR.WSA.Input")]
public sealed class GestureRecognizer : IDisposable
Constructors
|
Improve this Doc
View Source
Declaration
public GestureRecognizer()
Methods
Declaration
public void CancelGestures()
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
protected void Finalize()
|
Improve this Doc
View Source
Retrieves the current recognizable gestures.
Declaration
public GestureSettings GetRecognizableGestures()
Returns
Returns the enabled state of the gesture recognizer.
Declaration
public bool IsCapturingGestures()
Returns
|
Improve this Doc
View Source
Sets the current recognizable gestures to the specified set. Returns
the previous value.
Declaration
public GestureSettings SetRecognizableGestures(GestureSettings newMaskValue)
Parameters
Returns
Enables this recognizer to start receiving interaction events
Declaration
public void StartCapturingGestures()
Disabled this recognizer to stop receiving interaction events
Declaration
public void StopCapturingGestures()
Events
|
Improve this Doc
View Source
Declaration
public event Action<GestureErrorEventArgs> GestureError
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("GestureErrorEvent is deprecated, and will be removed in a future release. Use OnGestureErrorEvent instead.", false)]
public event GestureRecognizer.GestureErrorDelegate GestureErrorEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<HoldCanceledEventArgs> HoldCanceled
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("HoldCanceledEvent is deprecated, and will be removed in a future release. Use OnHoldCanceledEvent instead.", false)]
public event GestureRecognizer.HoldCanceledEventDelegate HoldCanceledEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<HoldCompletedEventArgs> HoldCompleted
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("HoldCompletedEvent is deprecated, and will be removed in a future release. Use OnHoldCompletedEvent instead.", false)]
public event GestureRecognizer.HoldCompletedEventDelegate HoldCompletedEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<HoldStartedEventArgs> HoldStarted
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("HoldStartedEvent is deprecated, and will be removed in a future release. Use OnHoldStartedEvent instead.", false)]
public event GestureRecognizer.HoldStartedEventDelegate HoldStartedEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<ManipulationCanceledEventArgs> ManipulationCanceled
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("ManipulationCanceledEvent is deprecated, and will be removed in a future release. Use OnManipulationCanceledEvent instead.", false)]
public event GestureRecognizer.ManipulationCanceledEventDelegate ManipulationCanceledEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<ManipulationCompletedEventArgs> ManipulationCompleted
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("ManipulationCompletedEvent is deprecated, and will be removed in a future release. Use OnManipulationCompletedEvent instead.", false)]
public event GestureRecognizer.ManipulationCompletedEventDelegate ManipulationCompletedEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<ManipulationStartedEventArgs> ManipulationStarted
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("ManipulationStartedEvent is deprecated, and will be removed in a future release. Use OnManipulationStartedEvent instead.", false)]
public event GestureRecognizer.ManipulationStartedEventDelegate ManipulationStartedEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<ManipulationUpdatedEventArgs> ManipulationUpdated
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("ManipulationUpdatedEvent is deprecated, and will be removed in a future release. Use OnManipulationUpdatedEvent instead.", false)]
public event GestureRecognizer.ManipulationUpdatedEventDelegate ManipulationUpdatedEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<NavigationCanceledEventArgs> NavigationCanceled
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("NavigationCanceledEvent is deprecated, and will be removed in a future release. Use OnNavigationCanceledEvent instead.", false)]
public event GestureRecognizer.NavigationCanceledEventDelegate NavigationCanceledEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<NavigationCompletedEventArgs> NavigationCompleted
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("NavigationCompletedEvent is deprecated, and will be removed in a future release. Use OnNavigationCompletedEvent instead.", false)]
public event GestureRecognizer.NavigationCompletedEventDelegate NavigationCompletedEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<NavigationStartedEventArgs> NavigationStarted
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("NavigationStartedEvent is deprecated, and will be removed in a future release. Use OnNavigationStartedEvent instead.", false)]
public event GestureRecognizer.NavigationStartedEventDelegate NavigationStartedEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<NavigationUpdatedEventArgs> NavigationUpdated
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("NavigationUpdatedEvent is deprecated, and will be removed in a future release. Use OnNavigationUpdatedEvent instead.", false)]
public event GestureRecognizer.NavigationUpdatedEventDelegate NavigationUpdatedEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<RecognitionEndedEventArgs> RecognitionEnded
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("RecognitionEndedEvent is deprecated, and will be removed in a future release. Use OnRecognitionEndedEvent instead.", false)]
public event GestureRecognizer.RecognitionEndedEventDelegate RecognitionEndedEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<RecognitionStartedEventArgs> RecognitionStarted
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("RecognitionStartedEvent is deprecated, and will be removed in a future release. Use OnRecognitionStartedEvent instead.", false)]
public event GestureRecognizer.RecognitionStartedEventDelegate RecognitionStartedEvent
Event Type
|
Improve this Doc
View Source
Declaration
public event Action<TappedEventArgs> Tapped
Event Type
|
Improve this Doc
View Source
Declaration
[Obsolete("TappedEvent is deprecated, and will be removed in a future release. Use Tapped instead.", false)]
public event GestureRecognizer.TappedEventDelegate TappedEvent
Event Type
Implements
Extension Methods