Class PointerMoveEvent
This event is sent when a pointer changes state.
Inheritance
PointerMoveEvent
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public sealed class PointerMoveEvent : PointerEventBase<PointerMoveEvent>, IPointerEvent, IPointerEventInternal
Remarks
The state of a pointer changes when one or more of its properties changes after a PointerDownEvent but before a PointerUpEvent. For example if its position or pressure change, or a different button is pressed.
A PointerMoveEvent uses the default pointer event propagation path: it trickles down, bubbles up and can be cancelled.
See PointerEventBase<T> to see how PointerMoveEvent relates to other pointer events.
Constructors
PointerMoveEvent()
Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances.
Declaration
public PointerMoveEvent()
Methods
Init()
Resets the event members to their initial values.
Declaration
protected override void Init()
Overrides
UnityEngine.UIElements.PointerEventBase<UnityEngine.UIElements.PointerMoveEvent>.Init()
PostDispatch(IPanel)
Declaration
protected override void PostDispatch(IPanel panel)
Parameters
Type | Name | Description |
---|---|---|
IPanel | panel |
Overrides
UnityEngine.UIElements.PointerEventBase<UnityEngine.UIElements.PointerMoveEvent>.PostDispatch(UnityEngine.UIElements.IPanel)