Search Results for

    Show / Hide Table of Contents

    Class PointerDispatcher

    Dispatch pointer events associated to a Surface or a Window.

    Inheritance
    object
    PointerDispatcher
    MouseDispatcher
    FormsTouchDispatcher
    SDLTouchDispatcher
    WPFTouchDispatcher
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    Gets the points detected inside the Surface or Window.

    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

    Occurs when a new point is detected in the Surface or Window.

    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

    Occurs when an existing point leaves the Surface or Window.

    Declaration
    public event EventHandler<PointerEventArgs> PointerUp
    Event Type
    Type Description
    EventHandler<PointerEventArgs>

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX