Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

GestureRecognizer.SetRecognizableGestures

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.

Did you find this page useful? Please give it a rating: