Class PointerDispatcher
Inheritance
PointerDispatcher
Inherited Members
Namespace: Evergine.Common.Input.Pointer
Assembly: Evergine.Common.dll
Syntax
public abstract class PointerDispatcher
Constructors
PointerDispatcher()
Initializes a new instance of the Pointer
Declaration
public PointerDispatcher()
Properties
Points
Declaration
public IList<PointerPoint> Points { get; }
Property Value
Type | Description |
---|---|
IList<Pointer |
Methods
DispatchEvents()
Dispatch accumulated events.
Declaration
public virtual void DispatchEvents()
HandlePointerDown(long, Point)
Handles the pointer down event.
Declaration
protected void HandlePointerDown(long pointId, Point position)
Parameters
HandlePointerMove(long, Point)
Handles the pointer move event.
Declaration
protected void HandlePointerMove(long pointId, Point position)
Parameters
HandlePointerUp(long, Point)
Handles the pointer up event.
Declaration
protected void HandlePointerUp(long pointId, Point position)
Parameters
Events
PointerDown
Declaration
public event EventHandler<PointerEventArgs> PointerDown
Event Type
Type | Description |
---|---|
Event |
PointerMove
Occurs when an existing point changes its position.
Declaration
public event EventHandler<PointerEventArgs> PointerMove
Event Type
Type | Description |
---|---|
Event |
PointerUp
Declaration
public event EventHandler<PointerEventArgs> PointerUp
Event Type
Type | Description |
---|---|
Event |