This version of Unity is unsupported.
Method group is Obsolete

GestureRecognizer.SetRecognizableGestures

Obsolete Support for built-in VR will be removed in Unity 2020.1. Please update to the new Unity XR Plugin System. More information about the new XR Plugin System can be found at https://docs.unity3d.com/2019.3/Documentation/Manual/XR.html.

Declaration

public XR.WSA.Input.GestureSettings SetRecognizableGestures(XR.WSA.Input.GestureSettings newMaskValue);

Parameters

newMaskValue A mask indicating which gestures are now recognizable.

Returns

GestureSettings The previous value.

Description

Set the recognizable gestures to the ones specified in newMaskValues and return the old settings.

Note that some combinations of gestures are not compatible. Currently Path cannot be used with either or both of Zoom and Scroll.