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 PointerDispatcher class.
Declaration
public PointerDispatcher()
  Properties
Points
Declaration
public IList<PointerPoint> Points { get; }
  Property Value
| Type | Description | 
|---|---|
| IList<PointerPoint> | 
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
| Type | Name | Description | 
|---|---|---|
| long | pointId | The point id.  | 
      
| Point | position | The point position.  | 
      
HandlePointerMove(long, Point)
Handles the pointer move event.
Declaration
protected void HandlePointerMove(long pointId, Point position)
  Parameters
| Type | Name | Description | 
|---|---|---|
| long | pointId | The point id.  | 
      
| Point | position | The point position.  | 
      
HandlePointerUp(long, Point)
Handles the pointer up event.
Declaration
protected void HandlePointerUp(long pointId, Point position)
  Parameters
| Type | Name | Description | 
|---|---|---|
| long | pointId | The point id.  | 
      
| Point | position | The pointer position.  | 
      
Events
PointerDown
Declaration
public event EventHandler<PointerEventArgs> PointerDown
  Event Type
| Type | Description | 
|---|---|
| EventHandler<PointerEventArgs> | 
PointerMove
Occurs when an existing point changes its position.
Declaration
public event EventHandler<PointerEventArgs> PointerMove
  Event Type
| Type | Description | 
|---|---|
| EventHandler<PointerEventArgs> | 
PointerUp
Declaration
public event EventHandler<PointerEventArgs> PointerUp
  Event Type
| Type | Description | 
|---|---|
| EventHandler<PointerEventArgs> |