UGUIInputAdapter.IsXRUIEvent(PointerEventData) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Test if the given event data corresponds to a Unity XRI interactor.
protected bool IsXRUIEvent(UnityEngine.EventSystems.PointerEventData pointerEventData);
member this.IsXRUIEvent : UnityEngine.EventSystems.PointerEventData -> bool
Protected Function IsXRUIEvent (pointerEventData As PointerEventData) As Boolean
Parameters
- pointerEventData
- UnityEngine.EventSystems.PointerEventData
Returns
true if the provided pointer event data corresponds to a Unity XRI interactor,
false if it corresponds to mouse, keyboard, gamepad, or touch.
Remarks
Used to filter XRI interactions out of all canvas input, so that duplicate events are not triggered on hybrid/unified UX.