IPointerInputDetector

interface

Namespace: Vuplex.WebView

An interface that can be passed to WebViewPrefab.SetPointerInputDetector() or CanvasWebViewPrefab.SetPointerInputDetector() to override how the prefab detects pointer input. For example implementations of this interface, please see 3D WebView's DefaultPointerInputDetector.cs and CanvasPointerInputDetector.cs scripts.

Summary

Public properties

Public properties

PointerMovedEnabled

bool PointerMovedEnabled

The prefab sets this property to indicate whether the PointerMoved event should be enabled.

Public events

BeganDrag

EventHandler<EventArgs<Vector2>> BeganDrag

Indicates the normalized point for the beginning of a drag interaction.

Dragged

EventHandler<EventArgs<Vector2>> Dragged

Indicates the normalized point for the continuation of a drag interaction.

PointerDown

EventHandler<PointerEventArgs> PointerDown

Indicates a pointer down interaction occurred.

PointerEntered

EventHandler PointerEntered

Indicates that the pointer entered.

PointerExited

EventHandler<EventArgs<Vector2>> PointerExited

Indicates the normalized point where the pointer exited.

PointerMoved

EventHandler<EventArgs<Vector2>> PointerMoved

Indicates the normalized point where the pointer moved.

PointerUp

EventHandler<PointerEventArgs> PointerUp

Indicates a pointer up interaction occurred.

Scrolled

EventHandler<ScrolledEventArgs> Scrolled

Indicates a scroll interaction occurred.